diff --git a/examples/qemu-vm/vm-config.nix b/examples/qemu-vm/vm-config.nix index ca91e55..df3d40c 100644 --- a/examples/qemu-vm/vm-config.nix +++ b/examples/qemu-vm/vm-config.nix @@ -4,7 +4,7 @@ config = { virtualisation.graphics = false; - services.mingetty.autologinUser = "root"; + services.getty.autologinUser = "root"; users.users.root = { openssh.authorizedKeys.keyFiles = [ ./id-vm.pub ]; }; diff --git a/test/lib/make-test.nix b/test/lib/make-test.nix index 7666755..ab1fec3 100644 --- a/test/lib/make-test.nix +++ b/test/lib/make-test.nix @@ -69,7 +69,7 @@ name: testConfig: "${toString pkgs.path}/nixos/modules/virtualisation/qemu-vm.nix" ]; virtualisation.graphics = false; - services.mingetty.autologinUser = "root"; + services.getty.autologinUser = "root"; # Provide a shortcut for instant poweroff from within the machine environment.systemPackages = with pkgs; [