From dbdbc7b4e205039cffd8c1edaf428b3d613152e7 Mon Sep 17 00:00:00 2001 From: Kid <44045911+kidonng@users.noreply.github.com> Date: Tue, 11 Apr 2023 08:06:33 +0800 Subject: [PATCH] Do not add channel when installing Nix (#142) --- nixos-infect | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos-infect b/nixos-infect index 70f1b4d..9d4cf72 100644 --- a/nixos-infect +++ b/nixos-infect @@ -313,7 +313,7 @@ infect() { #addgroup nixbld -g 30000 || true #for i in {1..10}; do adduser -DH -G nixbld nixbld$i || true; done - curl -L https://nixos.org/nix/install | sh + curl -L https://nixos.org/nix/install | sh -s -- --no-channel-add # shellcheck disable=SC1090 source ~/.nix-profile/etc/profile.d/nix.sh