diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-05-21 12:04:08 +0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-05-21 12:04:08 +0200 |
commit | 48768f3129f0c10153a85d57c1a02869ed22d9fc (patch) | |
tree | d7d34692c2d59fc5dc3bdbfcc1ba1f28c3dfaa0a /nixos/modules/installer | |
parent | e135e6b35b4ac75cfee7c561b2ea864967568f81 (diff) | |
download | nixlib-48768f3129f0c10153a85d57c1a02869ed22d9fc.tar nixlib-48768f3129f0c10153a85d57c1a02869ed22d9fc.tar.gz nixlib-48768f3129f0c10153a85d57c1a02869ed22d9fc.tar.bz2 nixlib-48768f3129f0c10153a85d57c1a02869ed22d9fc.tar.lz nixlib-48768f3129f0c10153a85d57c1a02869ed22d9fc.tar.xz nixlib-48768f3129f0c10153a85d57c1a02869ed22d9fc.tar.zst nixlib-48768f3129f0c10153a85d57c1a02869ed22d9fc.zip |
NixOS ISO: Set empty root password
Diffstat (limited to 'nixos/modules/installer')
-rw-r--r-- | nixos/modules/installer/cd-dvd/installation-cd-base.nix | 5 |
1 files changed, 4 insertions, 1 deletions
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 = ""; } |