From 25062f56d465d864f61b390ecd7647a3028a514a Mon Sep 17 00:00:00 2001 From: Tuomas Tynkkynen Date: Tue, 14 Apr 2015 12:48:09 +0300 Subject: Installation CD: automatic log in at virtual consoles --- nixos/modules/profiles/installation-device.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'nixos') 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."} ''; -- cgit 1.4.1