fix: vmVarints autologin

This commit is contained in:
2025-02-06 11:21:14 +00:00
parent 030b852e2f
commit f65b5d6b81

View File

@@ -151,6 +151,8 @@
(modulesPath + "/profiles/qemu-guest.nix") (modulesPath + "/profiles/qemu-guest.nix")
]; ];
services.getty.autologinUser = "root";
programs.zsh.enable = true; programs.zsh.enable = true;
users.defaultUserShell = pkgs.zsh; users.defaultUserShell = pkgs.zsh;
@@ -168,8 +170,6 @@
forwardPorts = [ forwardPorts = [
{ from = "host"; host.port = 40500; guest.port = 22; } { from = "host"; host.port = 40500; guest.port = 22; }
]; ];
services.getty.autologinUser = "root";
}; };
services.openssh = { services.openssh = {