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

@ -1,14 +0,0 @@
{ osConfig, lib, ... }:
{
config = lib.mkMerge [
(lib.mkIf (osConfig.desktop.notification-daemon == "mako") {
home.sessionVariables.NOTIFICATION_DAEMON = "mako";
services.mako = {
enable = true;
settings = {
default-timeout = 10000;
};
};
})
];
}