From 875dc2dc40d309ec2e19f0a8a3e2d70452038807 Mon Sep 17 00:00:00 2001 From: Christoph Urlacher Date: Tue, 17 Jun 2025 01:49:12 +0200 Subject: [PATCH] Modules/Hyprland: Add option to toggle dunst --- home/modules/hyprland/default.nix | 2 +- home/modules/hyprland/options.nix | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/home/modules/hyprland/default.nix b/home/modules/hyprland/default.nix index 4e558742..ad992de3 100644 --- a/home/modules/hyprland/default.nix +++ b/home/modules/hyprland/default.nix @@ -319,7 +319,7 @@ in { # Notification service dunst = { - enable = true; + enable = hyprland.dunst.enable; iconTheme.package = pkgs.papirus-icon-theme; iconTheme.name = "Papirus"; diff --git a/home/modules/hyprland/options.nix b/home/modules/hyprland/options.nix index f3ae8fbc..5329d017 100644 --- a/home/modules/hyprland/options.nix +++ b/home/modules/hyprland/options.nix @@ -25,6 +25,8 @@ with mylib.modules; { description = "Wallpaper and colorscheme to use"; }; + dunst.enable = mkEnableOption "Enable dunst notification daemon"; + monitors = mkOption { type = types.attrs; description = "Hyprland Monitor Configurations";