update installation message to instruct users to reopen shell and rerun the script after Nix installation
All checks were successful
Nix Format Check / check-format (push) Successful in 37s

This commit is contained in:
Menno van Leeuwen 2025-01-15 13:36:17 +01:00
parent a3f2b7d759
commit 5803376722
Signed by: vleeuwenmenno
SSH Key Fingerprint: SHA256:OJFmjANpakwD3F2Rsws4GLtbdz1TJ5tkQF0RZmF0TRE

View File

@ -300,8 +300,8 @@ install_nix() {
die "Failed to install Nix" die "Failed to install Nix"
fi fi
log_success "Nix has been installed. We're reinvoking the script to continue setup." log_success "Nix has been installed. Please open a new shell and re-run the script."
curl -L https://df.mvl.sh | bash -s - -c log_info "`~/dotfiles/setup.sh --continue` to continue setup."
exit 0 exit 0
} }
@ -455,10 +455,15 @@ main() {
git clone "$GIT_REPO" "$DOTFILES_DIR" || die "Failed to clone dotfiles repository" git clone "$GIT_REPO" "$DOTFILES_DIR" || die "Failed to clone dotfiles repository"
fi fi
warning_prompt if [ "$1" = "--continue" ]; then
prepare_hostname log_info "Continuing setup..."
check_selinux else
install_nix warning_prompt
prepare_hostname
check_selinux
install_nix
fi
install_home_manager install_home_manager
setup_symlinks setup_symlinks