From 4cc65aeeec001beaaba0b05ece779ad6c05593eb Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Wed, 12 Jul 2023 06:06:18 +0300 Subject: [PATCH] dunst --- hosts/sakotop/configuration.nix | 1 + modules/desktop/default.nix | 1 + modules/desktop/dunst/default.nix | 16 ++++++++++++++++ 3 files changed, 18 insertions(+) create mode 100644 modules/desktop/dunst/default.nix diff --git a/hosts/sakotop/configuration.nix b/hosts/sakotop/configuration.nix index 7e525dd8..630aa971 100644 --- a/hosts/sakotop/configuration.nix +++ b/hosts/sakotop/configuration.nix @@ -16,6 +16,7 @@ desktop = { kitty.enable = true; bspwm.enable = true; + dunst.enable = true; browsers = { qutebrowser.enable = true; # for those quick thinsg where i dont know how to do it on qutebrowser diff --git a/modules/desktop/default.nix b/modules/desktop/default.nix index 58d45f03..7e2f9e15 100644 --- a/modules/desktop/default.nix +++ b/modules/desktop/default.nix @@ -8,5 +8,6 @@ ./game ./chat ./media + ./dunst ]; } diff --git a/modules/desktop/dunst/default.nix b/modules/desktop/dunst/default.nix new file mode 100644 index 00000000..a272b1e6 --- /dev/null +++ b/modules/desktop/dunst/default.nix @@ -0,0 +1,16 @@ +{ outputs, options, config, lib, pkgs, ...}: +with lib; +let + cfg = config.modules.desktop.dunst; +in +{ + options.modules.desktop.dunst = { + enable = mkEnableOption false; + }; + + config = mkIf cfg.enable { + users.users.sako.packages = with pkgs; [ + dunst + ]; + }; +}