treewide: use services.getty option
services.mingetty is equivalent but deprecated.
This commit is contained in:
parent
a25ceecca5
commit
0ef66c920b
@ -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 ];
|
||||
};
|
||||
|
@ -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; [
|
||||
|
Loading…
Reference in New Issue
Block a user