From 68943b57ee1e4053ce52377ca2f7ad96f90d1157 Mon Sep 17 00:00:00 2001 From: Menno van Leeuwen Date: Wed, 15 Jan 2025 14:03:16 +0100 Subject: [PATCH] fix install_nix function to check for nix-channel instead of nixos-version --- setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.sh b/setup.sh index 97376b2..1ed4b79 100755 --- a/setup.sh +++ b/setup.sh @@ -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