Bootstrap : Add basic system warning.

This commit is contained in:
Dmitry Voronin 2024-02-22 22:05:20 +03:00
parent 3eb8f867b8
commit 723c75b4dd

View file

@ -61,8 +61,10 @@ function bootstrap_nixos() {
# Install.
cd /mnt
if [[ "${host}" = "" ]]; then
_warn "Warning: Installing basic system."
nixos-install
else
_info "Installing ${host}..."
nixos-install --no-root-password --flake "${_nix_system_config}#${host}"
fi
}