aboutsummaryrefslogtreecommitdiff
path: root/modules/dunst.nix
diff options
context:
space:
mode:
authorschererleander <leander@schererleander.de>2025-06-21 21:52:34 +0200
committerschererleander <leander@schererleander.de>2025-06-21 21:52:34 +0200
commit3e3f312c15e440f4686cd1462ebfe7eb71470847 (patch)
tree061706b889dc0bedbb841096ce2a0110885ae340 /modules/dunst.nix
parenta5d50ccc333f574f8d22a8609dc76db922e89b20 (diff)
add dunst
Diffstat (limited to 'modules/dunst.nix')
-rw-r--r--modules/dunst.nix16
1 files changed, 16 insertions, 0 deletions
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";
+ };
+ };
+ };
+ };
+}