NixOS ISO: Set empty root password

wip/yesman
Eelco Dolstra 10 years ago
parent e135e6b35b
commit 48768f3129
  1. 5
      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 = "";
}

Loading…
Cancel
Save