From 83355bee0fe18784fb63d29554a34fcaba5f8eea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Wed, 6 Mar 2024 12:01:34 +0200 Subject: [PATCH] vm: do not autostart xorg --- hosts/vm/configuration.nix | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/hosts/vm/configuration.nix b/hosts/vm/configuration.nix index 1ed3a7a..57da165 100644 --- 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 '';