From 0ef66c920b91ab850ce3163a275c74c453f1662d Mon Sep 17 00:00:00 2001 From: Erik Arvstedt Date: Thu, 5 Aug 2021 00:48:58 +0200 Subject: [PATCH] treewide: use services.getty option services.mingetty is equivalent but deprecated. --- examples/qemu-vm/vm-config.nix | 2 +- test/lib/make-test.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; [