From 76107d4eb5611097348218cd1e7a87b48d481cdd Mon Sep 17 00:00:00 2001 From: Manuel Mendez Date: Wed, 23 Jun 2021 22:57:44 -0400 Subject: [PATCH] Drop use of sudo when tee'ing nix.conf sudo has stuck around since the early days of this repo when /etc/nix/nix.conf was being created/mutated and required `sudo`. This was changed to a different/local file where sudo is no longer needed in commit 642cfa0200128cfdd6c201f97398c427100891a2. --- lib/install-nix.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/install-nix.sh b/lib/install-nix.sh index fa097a8..61c4fe3 100755 --- a/lib/install-nix.sh +++ b/lib/install-nix.sh @@ -8,7 +8,7 @@ fi # Configure Nix add_config() { - echo "$1" | sudo tee -a /tmp/nix.conf >/dev/null + echo "$1" | tee -a /tmp/nix.conf >/dev/null } # Set jobs to number of cores add_config "max-jobs = auto"