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
All checks were successful
Nix Format Check / check-format (push) Successful in 37s
This commit is contained in:
parent
a3f2b7d759
commit
5803376722
17
setup.sh
17
setup.sh
@ -300,8 +300,8 @@ install_nix() {
|
||||
die "Failed to install Nix"
|
||||
fi
|
||||
|
||||
log_success "Nix has been installed. We're reinvoking the script to continue setup."
|
||||
curl -L https://df.mvl.sh | bash -s - -c
|
||||
log_success "Nix has been installed. Please open a new shell and re-run the script."
|
||||
log_info "`~/dotfiles/setup.sh --continue` to continue setup."
|
||||
exit 0
|
||||
}
|
||||
|
||||
@ -455,10 +455,15 @@ main() {
|
||||
git clone "$GIT_REPO" "$DOTFILES_DIR" || die "Failed to clone dotfiles repository"
|
||||
fi
|
||||
|
||||
warning_prompt
|
||||
prepare_hostname
|
||||
check_selinux
|
||||
install_nix
|
||||
if [ "$1" = "--continue" ]; then
|
||||
log_info "Continuing setup..."
|
||||
else
|
||||
warning_prompt
|
||||
prepare_hostname
|
||||
check_selinux
|
||||
install_nix
|
||||
fi
|
||||
|
||||
install_home_manager
|
||||
setup_symlinks
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user