diff --git a/home/dunst.nix b/home/dunst.nix new file mode 100644 index 00000000..a5dc41de --- /dev/null +++ b/home/dunst.nix @@ -0,0 +1,31 @@ +{ pkgs, ... }: + +{ + services.dunst = { + enable = true; + + iconTheme = { + package = pkgs.papirus-icon-theme; + name = "Papirus"; + }; + + settings = { + global = { + geometry = "1870x5-25+45"; + width = 350; + separator_height = 5; + padding = 24; + horizontal_padding = 24; + frame_width = 3; + idle_threshold = 120; + alignment = "center"; + word_wrap = "yes"; + transparency = 5; + format = "%s: %b"; + markup = "full"; + min_icon_size = 32; + max_icon_size = 128; + }; + }; + }; +} diff --git a/specializations/dwm.nix b/specializations/dwm.nix index 6d7e9bd7..8c1b836c 100644 --- a/specializations/dwm.nix +++ b/specializations/dwm.nix @@ -96,36 +96,6 @@ in ''; }; }; - - services = { - dunst = { - enable = true; - - iconTheme = { - package = pkgs.papirus-icon-theme; - name = "Papirus"; - }; - - settings = { - global = { - geometry = "1870x5-25+45"; - width = 350; - separator_height = 5; - padding = 24; - horizontal_padding = 24; - frame_width = 3; - idle_threshold = 120; - alignment = "center"; - word_wrap = "yes"; - transparency = 5; - format = "%s: %b"; - markup = "full"; - min_icon_size = 32; - max_icon_size = 128; - }; - }; - }; - }; }; services = {