blob: 1a5fd311952d4f6f20a258b4e0d1a624ae15cf8e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
{ pkgs, config, lib, ... }:
{
options = {
dunst.enable = lib.mkEnableOption "enable dunst";
};
config = lib.mkIf config.dunst.enable {
home.packages = [ pkgs.libnotify ];
services.dunst = {
enable = true;
settings = {
global = {
origin = "bottom-right";
notification_limit = 5;
progress_bar = true;
};
};
};
};
}
|