From 48768f3129f0c10153a85d57c1a02869ed22d9fc Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 21 May 2014 12:04:08 +0200 Subject: [PATCH] NixOS ISO: Set empty root password --- nixos/modules/installer/cd-dvd/installation-cd-base.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/nixos/modules/installer/cd-dvd/installation-cd-base.nix b/nixos/modules/installer/cd-dvd/installation-cd-base.nix index a120a01041bd..eb7c4026857b 100644 --- a/nixos/modules/installer/cd-dvd/installation-cd-base.nix +++ b/nixos/modules/installer/cd-dvd/installation-cd-base.nix @@ -39,6 +39,9 @@ with lib; # Add Memtest86+ to the CD. boot.loader.grub.memtest86.enable = true; - # Get a console as soon as the initrd loads fbcon on EFI boot + # Get a console as soon as the initrd loads fbcon on EFI boot. boot.initrd.kernelModules = [ "fbcon" ]; + + # Allow the user to log in as root without a password. + security.initialRootPassword = ""; }