Bootstrap : Add basic system warning.
This commit is contained in:
parent
3eb8f867b8
commit
723c75b4dd
|
@ -61,8 +61,10 @@ function bootstrap_nixos() {
|
||||||
# Install.
|
# Install.
|
||||||
cd /mnt
|
cd /mnt
|
||||||
if [[ "${host}" = "" ]]; then
|
if [[ "${host}" = "" ]]; then
|
||||||
|
_warn "Warning: Installing basic system."
|
||||||
nixos-install
|
nixos-install
|
||||||
else
|
else
|
||||||
|
_info "Installing ${host}..."
|
||||||
nixos-install --no-root-password --flake "${_nix_system_config}#${host}"
|
nixos-install --no-root-password --flake "${_nix_system_config}#${host}"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue