vm: do not autostart xorg
This commit is contained in:
parent
2cb294b9ab
commit
83355bee0f
|
@ -1,6 +1,5 @@
|
||||||
{
|
{
|
||||||
self,
|
self,
|
||||||
lib,
|
|
||||||
modulesPath,
|
modulesPath,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
|
@ -33,11 +32,9 @@
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
getty.autologinUser = "nixos";
|
getty.autologinUser = "nixos";
|
||||||
|
xserver.autorun = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
# do not autostart lightdm, leave at tty
|
|
||||||
systemd.services.display-manager.wantedBy = lib.mkForce [];
|
|
||||||
|
|
||||||
security.pam.services.lightdm.text = ''
|
security.pam.services.lightdm.text = ''
|
||||||
auth sufficient pam_succeed_if.so user ingroup wheel
|
auth sufficient pam_succeed_if.so user ingroup wheel
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in New Issue