Compare commits

..

1 Commits

Author SHA1 Message Date
18f0a37407 wip 2024-10-05 19:00:35 -07:00
2 changed files with 5 additions and 5 deletions

View File

@@ -37,7 +37,7 @@ in
};
};
config = mkIf cfg.enable
config =
{
services.xserver.xkb = {
layout = "us";

View File

@@ -35,7 +35,7 @@ in
};
services = if cfg.autologin then mkMerge [
(mkIf cfg.wayland {
mkIf cfg.wayland {
cage = mkIf cfg.wayland {
user = "kodi";
program = "${kodiPkg}/bin/kodi-standalone";
@@ -45,9 +45,9 @@ in
enable = false;
autorun = false;
};
})
}
(mkIf (!cfg.wayland) {
mkIf (!cfg.wayland) {
xserver = {
enable = true;
desktopManager.kodi = {
@@ -65,7 +65,7 @@ in
defaultSession = "kodi";
sessionData.autologinSession = "kodi";
};
})
}
] else {};
};
}