feat(desktop): move notification-daemon config to homes and use home-manager modules

This commit is contained in:
Mohammad Rafiq 2025-06-14 15:23:03 +08:00
parent 4a50de5eed
commit 60ee8b4544
No known key found for this signature in database
5 changed files with 21 additions and 16 deletions

View file

@ -0,0 +1,14 @@
{ 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;
};
}