demo: autologin through xserver
also disable upower on virtualbox Fixes #36348
This commit is contained in:
parent
4ff4ef51b7
commit
1e621ff423
|
@ -19,4 +19,6 @@ with lib;
|
|||
# Add some more video drivers to give X11 a shot at working in
|
||||
# VMware and QEMU.
|
||||
services.xserver.videoDrivers = mkOverride 40 [ "virtualbox" "vmware" "cirrus" "vesa" "modesetting" ];
|
||||
|
||||
powerManagement.enable = false;
|
||||
}
|
||||
|
|
|
@ -10,4 +10,10 @@
|
|||
password = "demo";
|
||||
uid = 1000;
|
||||
};
|
||||
|
||||
services.xserver.displayManager.sddm.autoLogin = {
|
||||
enable = true;
|
||||
relogin = true;
|
||||
user = "demo";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue