summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorTuomas Tynkkynen <tuomas.tynkkynen@iki.fi>2015-04-14 12:48:09 +0300
committerTuomas Tynkkynen <tuomas.tynkkynen@iki.fi>2015-04-14 12:51:24 +0300
commit25062f56d465d864f61b390ecd7647a3028a514a (patch)
tree8f2778170b93b096458924a7ea45371940cb6109 /nixos
parent7d916bb27ece2f95ae3b06bb3538fe4f00e98347 (diff)
downloadnixlib-25062f56d465d864f61b390ecd7647a3028a514a.tar
nixlib-25062f56d465d864f61b390ecd7647a3028a514a.tar.gz
nixlib-25062f56d465d864f61b390ecd7647a3028a514a.tar.bz2
nixlib-25062f56d465d864f61b390ecd7647a3028a514a.tar.lz
nixlib-25062f56d465d864f61b390ecd7647a3028a514a.tar.xz
nixlib-25062f56d465d864f61b390ecd7647a3028a514a.tar.zst
nixlib-25062f56d465d864f61b390ecd7647a3028a514a.zip
Installation CD: automatic log in at virtual consoles
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/profiles/installation-device.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/nixos/modules/profiles/installation-device.nix b/nixos/modules/profiles/installation-device.nix
index 5aab2a2954e7..f1e733080573 100644
--- a/nixos/modules/profiles/installation-device.nix
+++ b/nixos/modules/profiles/installation-device.nix
@@ -30,11 +30,14 @@ with lib;
     # the full glibcLocales package.
     i18n.supportedLocales = ["en_US.UTF-8/UTF-8" "en_US/ISO-8859-1"];
 
+    # Automatically log in at the virtual consoles.
+    services.mingetty.autologinUser = "root";
+
     # Some more help text.
     services.mingetty.helpLine =
       ''
 
-        Log in as "root" with an empty password.  ${
+        The "root" account has an empty password.  ${
           optionalString config.services.xserver.enable
             "Type `start display-manager' to\nstart the graphical user interface."}
       '';