Refactor gui module

This commit is contained in:
ulic-youthlic 2025-07-01 23:17:40 +08:00
parent edfe0e5bf9
commit e65183b4a4
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721
36 changed files with 236 additions and 309 deletions

View file

@ -11,6 +11,12 @@ in {
};
};
config = lib.mkIf cfg.enable {
youthlic.programs.wluma.config = ./config.toml;
services.wluma = {
enable = true;
settings = ./config.toml |> builtins.readFile |> builtins.fromTOML;
systemd = {
enable = true;
};
};
};
}