Do not install sway on neelix.

This commit is contained in:
Tom Alexander
2025-01-20 20:06:33 -05:00
parent 9d49eb9d6a
commit d0c1bb1b65
11 changed files with 28 additions and 20 deletions

View File

@@ -9,7 +9,7 @@
imports = [ ];
options.me = {
kodi.enabled = lib.mkOption {
kodi.enable = lib.mkOption {
type = lib.types.bool;
default = false;
example = true;
@@ -17,13 +17,17 @@
};
};
config = lib.mkIf config.me.kodi.enabled (
config = lib.mkIf config.me.kodi.enable (
lib.mkMerge [
{
environment.systemPackages = with pkgs; [
];
}
(lib.mkIf config.me.graphical {
users.extraUsers.kodi.isNormalUser = true;
services.cage.user = "kodi";
services.cage.program = "${pkgs.kodi-wayland}/bin/kodi-standalone";
services.cage.enable = true;
})
]
);