diff --git a/home/wm/default.nix b/home/wm/default.nix index 2421a50..5a50331 100644 --- a/home/wm/default.nix +++ b/home/wm/default.nix @@ -10,6 +10,7 @@ let in { imports = [ + ./dunst.nix ./i3.nix ./i3bar.nix ./rofi.nix @@ -23,6 +24,10 @@ in description = "Which window manager to use for home session"; }; + dunst = { + enable = mkRelatedOption "dunst configuration" [ "i3" ]; + }; + i3bar = { enable = mkRelatedOption "i3bar configuration" [ "i3" ]; }; diff --git a/home/wm/dunst.nix b/home/wm/dunst.nix new file mode 100644 index 0000000..e6c2090 --- /dev/null +++ b/home/wm/dunst.nix @@ -0,0 +1,11 @@ +{ config, lib, ... }: +let + cfg = config.my.home.wm.dunst; +in +{ + config = lib.mkIf cfg.enable { + services.dunst = { + enable = true; + }; + }; +}