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 = {
|
config = {
|
||||||
virtualisation.graphics = false;
|
virtualisation.graphics = false;
|
||||||
services.mingetty.autologinUser = "root";
|
services.getty.autologinUser = "root";
|
||||||
users.users.root = {
|
users.users.root = {
|
||||||
openssh.authorizedKeys.keyFiles = [ ./id-vm.pub ];
|
openssh.authorizedKeys.keyFiles = [ ./id-vm.pub ];
|
||||||
};
|
};
|
||||||
|
@ -69,7 +69,7 @@ name: testConfig:
|
|||||||
"${toString pkgs.path}/nixos/modules/virtualisation/qemu-vm.nix"
|
"${toString pkgs.path}/nixos/modules/virtualisation/qemu-vm.nix"
|
||||||
];
|
];
|
||||||
virtualisation.graphics = false;
|
virtualisation.graphics = false;
|
||||||
services.mingetty.autologinUser = "root";
|
services.getty.autologinUser = "root";
|
||||||
|
|
||||||
# Provide a shortcut for instant poweroff from within the machine
|
# Provide a shortcut for instant poweroff from within the machine
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
Loading…
Reference in New Issue
Block a user