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 + ]; + }; +}