use xserver

This commit is contained in:
Daylin Morgan 2024-02-06 09:43:09 -06:00
parent 9a4c1b1013
commit 744ab97b73
Signed by: daylin
GPG key ID: C1E52E7DD81DF79F

View file

@ -9,6 +9,17 @@
# 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";
users.extraUsers.kodi.isNormalUser = true;
# 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;
##
security.sudo.wheelNeedsPassword = false;