Bootstrap : Disable root pw ask when building from a flake.

This commit is contained in:
Dmitry Voronin 2024-02-21 04:32:42 +03:00
parent 5290b25c9b
commit c4f23ab4fd

View file

@ -63,6 +63,6 @@ function bootstrap_nixos() {
if [[ "${host}" = "" ]]; then
nixos-install
else
nixos-install --flake "${_nix_system_config}#${host}"
nixos-install --no-root-password --flake "${_nix_system_config}#${host}"
fi
}