aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/default.nix2
-rw-r--r--modules/dunst.nix16
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";
+ };
+ };
+ };
+ };
+}