Do not install sway on neelix.
This commit is contained in:
@@ -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;
|
||||
})
|
||||
]
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user