summary refs log tree commit diff
path: root/nixos/modules/profiles
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2021-01-05 08:25:53 +0000
committerAlyssa Ross <hi@alyssa.is>2021-01-05 09:09:42 +0000
commit6c3d21aff953a2f61086fa9dfd22ccaa919910f0 (patch)
tree786356c478b790155c9140be27b2624dd1a218d7 /nixos/modules/profiles
parent9a27606ab1781a01a75f7c2d519fd6ee2b4b867c (diff)
downloadnixpkgs-6c3d21aff953a2f61086fa9dfd22ccaa919910f0.tar
nixpkgs-6c3d21aff953a2f61086fa9dfd22ccaa919910f0.tar.gz
nixpkgs-6c3d21aff953a2f61086fa9dfd22ccaa919910f0.tar.bz2
nixpkgs-6c3d21aff953a2f61086fa9dfd22ccaa919910f0.tar.lz
nixpkgs-6c3d21aff953a2f61086fa9dfd22ccaa919910f0.tar.xz
nixpkgs-6c3d21aff953a2f61086fa9dfd22ccaa919910f0.tar.zst
nixpkgs-6c3d21aff953a2f61086fa9dfd22ccaa919910f0.zip
nixos/getty: rename from services.mingetty
It's been 8.5 years since NixOS used mingetty, but the option was
never renamed (despite the file definining the module being renamed in
9f5051b76c1 ("Rename mingetty module to agetty")).

I've chosen to rename it to services.getty here, rather than
services.agetty, because getty is implemantation-neutral and also the
name of the unit that is generated.
Diffstat (limited to 'nixos/modules/profiles')
-rw-r--r--nixos/modules/profiles/installation-device.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/profiles/installation-device.nix b/nixos/modules/profiles/installation-device.nix
index e68ea1b0877..7dc493fb495 100644
--- a/nixos/modules/profiles/installation-device.nix
+++ b/nixos/modules/profiles/installation-device.nix
@@ -45,10 +45,10 @@ with lib;
     };
 
     # Automatically log in at the virtual consoles.
-    services.mingetty.autologinUser = "nixos";
+    services.getty.autologinUser = "nixos";
 
     # Some more help text.
-    services.mingetty.helpLine = ''
+    services.getty.helpLine = ''
       The "nixos" and "root" accounts have empty passwords.
 
       An ssh daemon is running. You then must set a password