diff --git a/shared/home/gui/default.nix b/shared/home/gui/default.nix index 7e0d679..2e3693d 100644 --- a/shared/home/gui/default.nix +++ b/shared/home/gui/default.nix @@ -11,6 +11,7 @@ in { ./sway.nix ./term.nix ./waybar.nix + ./dunst.nix ]; config = lib.mkIf (cfg.enable) { diff --git a/shared/home/gui/dunst.nix b/shared/home/gui/dunst.nix new file mode 100644 index 0000000..9252af3 --- /dev/null +++ b/shared/home/gui/dunst.nix @@ -0,0 +1,21 @@ +{ ... }: { + services.dunst = { + enable = true; + settings = { + global = { + font = "Fira Code 9"; + origin = "bottom-right"; + offset = "10x10"; + frame_width = "2"; + frame_color = "#ffffff"; + corner_radius = "4"; + width = "400"; + }; + urgency_critical.background = "#d12142"; + urgency_normal = { + background = "#212121"; + format = "%s\\n%b"; + }; + }; + }; +} diff --git a/system/dev-lt-63/home.nix b/system/dev-lt-63/home.nix index a61642c..16bb488 100644 --- a/system/dev-lt-63/home.nix +++ b/system/dev-lt-63/home.nix @@ -26,21 +26,6 @@ xdg.systemDirs.data = [ "/usr/share" "/usr/local/share" ]; fonts.fontconfig.enable = true; - services.dunst = { - enable = true; - settings = { - global = { - font = "Fira Code 9"; - origin = "top-center"; - offset = "10x10"; - frame_width = "2"; - frame_color = "#ffffff"; - width = "400"; - }; - urgency_normal.background = "#212121"; - }; - }; - programs.man.enable = false; } \ No newline at end of file