mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-11-04 21:43:15 -06:00
use xserver
This commit is contained in:
parent
9a4c1b1013
commit
744ab97b73
1 changed files with 11 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue