diff options
| author | schererleander <leander@schererleander.de> | 2025-06-21 21:52:34 +0200 |
|---|---|---|
| committer | schererleander <leander@schererleander.de> | 2025-06-21 21:52:34 +0200 |
| commit | 3e3f312c15e440f4686cd1462ebfe7eb71470847 (patch) | |
| tree | 061706b889dc0bedbb841096ce2a0110885ae340 | |
| parent | a5d50ccc333f574f8d22a8609dc76db922e89b20 (diff) | |
add dunst
| -rw-r--r-- | modules/default.nix | 2 | ||||
| -rw-r--r-- | modules/dunst.nix | 16 |
2 files changed, 18 insertions, 0 deletions
diff --git a/modules/default.nix b/modules/default.nix index ccd3b8f..239ac18 100644 --- a/modules/default.nix +++ b/modules/default.nix @@ -17,5 +17,7 @@ ./firefox.nix ./nvf.nix ./aerospace.nix + ./dunst.nix + ./gpg.nix ]; } diff --git a/modules/dunst.nix b/modules/dunst.nix new file mode 100644 index 0000000..87ae210 --- /dev/null +++ b/modules/dunst.nix @@ -0,0 +1,16 @@ +{ config, pkgs, lib, ...}: + +{ + options.dunst.enable = lib.mkEnableOption "Setup dunst notification"; + config = lib.mkIf config.dunst.enable { + services.dunst = { + enable = true; + settings = { + global = { + transparency = 10; + font = "monospace 10"; + }; + }; + }; + }; +} |
