From 03648b3d9f177227df40129bed22558f6924b91c Mon Sep 17 00:00:00 2001 From: spl3g Date: Wed, 18 Mar 2026 18:01:41 +0300 Subject: so.. v2 i guess --- modules/homeModules/dunst.nix | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 modules/homeModules/dunst.nix (limited to 'modules/homeModules/dunst.nix') diff --git a/modules/homeModules/dunst.nix b/modules/homeModules/dunst.nix new file mode 100644 index 0000000..c95f1e3 --- /dev/null +++ b/modules/homeModules/dunst.nix @@ -0,0 +1,25 @@ +{inputs, ...}: { + flake.homeModules.dunst = { + pkgs, + config, + lib, + ... + }: { + options.customs = { + dunst.enable = lib.mkEnableOption "enable dunst"; + }; + config = lib.mkIf config.customs.dunst.enable { + home.packages = [pkgs.libnotify]; + services.dunst = { + enable = true; + settings = { + global = { + origin = "bottom-right"; + notification_limit = 5; + progress_bar = true; + }; + }; + }; + }; + }; +} -- cgit v1.2.3