From d84cf8a396c3fc64fee13357af6618117c0058e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Thu, 17 Aug 2023 12:56:19 +0300 Subject: [PATCH] getting back to X that one had a proper stack trace --- hosts/vno1-rp3b/configuration.nix | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/hosts/vno1-rp3b/configuration.nix b/hosts/vno1-rp3b/configuration.nix index 59aeb94..de19dc7 100644 --- a/hosts/vno1-rp3b/configuration.nix +++ b/hosts/vno1-rp3b/configuration.nix @@ -73,11 +73,18 @@ pulse.enable = true; }; - users.extraUsers.kodi.isNormalUser = true; - #services.cage.user = "kodi"; - #services.cage.program = "${pkgs.kodi-wayland}/bin/kodi-standalone"; - #services.cage.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; networking = { hostId = "4bd17751"; hostName = "vno1-rp3b";