commit 83355bee0fe18784fb63d29554a34fcaba5f8eea (tree)
parent 2cb294b9abfaae9b9298c5be37c5c8ba59bc7125
Author: Motiejus Jakštys <motiejus@jakstys.lt>
Date: Wed, 6 Mar 2024 12:01:34 +0200
vm: do not autostart xorg
Diffstat:
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/hosts/vm/configuration.nix b/hosts/vm/configuration.nix
@@ -1,6 +1,5 @@
{
self,
- lib,
modulesPath,
...
}: {
@@ -33,11 +32,9 @@
services = {
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 = ''
auth sufficient pam_succeed_if.so user ingroup wheel
'';