aboutsummaryrefslogtreecommitdiff
path: root/modules/home-manager/dunst.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/home-manager/dunst.nix')
-rw-r--r--modules/home-manager/dunst.nix16
1 files changed, 16 insertions, 0 deletions
diff --git a/modules/home-manager/dunst.nix b/modules/home-manager/dunst.nix
new file mode 100644
index 0000000..87ae210
--- /dev/null
+++ b/modules/home-manager/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";
+ };
+ };
+ };
+ };
+}