14 lines
303 B
Nix
14 lines
303 B
Nix
{ lib, config, ... }:
|
|
let
|
|
inherit (lib) mkEnableOption singleton;
|
|
cfg = config.desktop.notification-daemon;
|
|
in
|
|
{
|
|
options.desktop.notification-daemon = {
|
|
mako.enable = mkEnableOption "";
|
|
};
|
|
|
|
config.home-manager.sharedModules = singleton {
|
|
services.mako.enable = cfg.mako.enable;
|
|
};
|
|
}
|