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

This commit is contained in:
2025-01-15 14:03:16 +01:00
parent 733be4c7c8
commit 68943b57ee

View File

@@ -290,7 +290,7 @@ update_home_manager_flake() {
}
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."
return 0
fi