2023-07-12 07:06:18 +04:00
|
|
|
{ outputs, options, config, lib, pkgs, ...}:
|
|
|
|
with lib;
|
|
|
|
let
|
|
|
|
cfg = config.modules.desktop.dunst;
|
|
|
|
in
|
|
|
|
{
|
|
|
|
options.modules.desktop.dunst = {
|
|
|
|
enable = mkEnableOption false;
|
|
|
|
};
|
|
|
|
|
|
|
|
config = mkIf cfg.enable {
|
2023-08-05 00:17:51 +04:00
|
|
|
environment.systemPackages = with pkgs; [
|
2023-07-12 07:06:18 +04:00
|
|
|
dunst
|
2023-08-05 01:07:44 +04:00
|
|
|
libnotify
|
2023-07-12 07:06:18 +04:00
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|