fix install_nix function to check for nix-channel instead of nixos-version
All checks were successful
Nix Format Check / check-format (push) Successful in 38s
All checks were successful
Nix Format Check / check-format (push) Successful in 38s
This commit is contained in:
parent
733be4c7c8
commit
68943b57ee
2
setup.sh
2
setup.sh
@ -290,7 +290,7 @@ update_home_manager_flake() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
install_nix() {
|
install_nix() {
|
||||||
if command -v nixos-version >/dev/null 2>&1; then
|
if command -v nix-channel >/dev/null 2>&1; then
|
||||||
log_success "Detected NixOS, skipping Nix setup."
|
log_success "Detected NixOS, skipping Nix setup."
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user