diff --git a/hosts/vno1-rp3b/configuration.nix b/hosts/vno1-rp3b/configuration.nix index 16b9cb0..6101e51 100644 --- a/hosts/vno1-rp3b/configuration.nix +++ b/hosts/vno1-rp3b/configuration.nix @@ -73,10 +73,18 @@ pulse.enable = true; }; + services.xserver.enable = true; + services.xserver.desktopManager.kodi.enable = true; + services.xserver.displayManager.autoLogin.enable = true; + services.xserver.displayManager.autoLogin.user = "kodi"; + + # This may be needed to force Lightdm into 'autologin' mode. + # Setting an integer for the amount of time lightdm will wait + # between attempts to try to autologin again. + services.xserver.displayManager.lightdm.autoLogin.timeout = 3; + + # Define a user account users.extraUsers.kodi.isNormalUser = true; - services.cage.user = "kodi"; - services.cage.program = "${pkgs.kodi-wayland}/bin/kodi-standalone"; - services.cage.enable = true; networking = { hostId = "4bd17751";