From f65b5d6b816520b177d91231f4c8714e9cd3a265 Mon Sep 17 00:00:00 2001 From: yukkop Date: Thu, 6 Feb 2025 11:21:14 +0000 Subject: [PATCH] fix: vmVarints autologin --- flake.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index 84c6084..c0fd22b 100644 --- a/flake.nix +++ b/flake.nix @@ -151,6 +151,8 @@ (modulesPath + "/profiles/qemu-guest.nix") ]; + services.getty.autologinUser = "root"; + programs.zsh.enable = true; users.defaultUserShell = pkgs.zsh; @@ -168,8 +170,6 @@ forwardPorts = [ { from = "host"; host.port = 40500; guest.port = 22; } ]; - - services.getty.autologinUser = "root"; }; services.openssh = {