Bootstrap : Add basic system warning.
This commit is contained in:
parent
3eb8f867b8
commit
723c75b4dd
|
@ -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
|
||||
}
|
||||
|
|
Reference in a new issue