diff options
| author | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2025-06-09 17:40:46 +0000 |
|---|---|---|
| committer | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2025-06-09 17:40:46 +0000 |
| commit | a45c4551712c1ba5cb82eaf290f311ab0e8690e4 (patch) | |
| tree | f62b23489fb31f8ea58fef77f99619efd784eb36 /modules/desktop/system/components/dunst.nix | |
big changes
Diffstat (limited to 'modules/desktop/system/components/dunst.nix')
| -rw-r--r-- | modules/desktop/system/components/dunst.nix | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/modules/desktop/system/components/dunst.nix b/modules/desktop/system/components/dunst.nix new file mode 100644 index 0000000..cb650a1 --- /dev/null +++ b/modules/desktop/system/components/dunst.nix @@ -0,0 +1,38 @@ +{ + lib, + config, + pkgs, + ... +}: let + cfg = config.collinux.desktop.components.dunst; + + settings = pkgs.writeText "dunstrc" '' + [global] + frame_color = "#89b4fa" + separator_color = frame + highlight = "#89b4fa" + offset = "8x30" + origin = "top-right" + transparency = 10 + font = "Iosevka Nerd Font" + + [urgency_low] + background = "#1e1e2e" + foreground = "#cdd6f4" + + [urgency_normal] + background = "#1e1e2e" + foreground = "#cdd6f4" + + [urgency_critical] + background = "#1e1e2e" + foreground = "#cdd6f4" + frame_color = "#fab387" + ''; +in + lib.mkIf cfg.enable { + hjem.users."${config.collinux.user.name}" = { + files.".config/dunst/dunstrc".source = settings; + packages = [pkgs.dunst]; + }; + } |
