Merge pull request #84 from mmlb/drop-unneeded-sudo

Drop unnecessary use of sudo when tee'ing nix.conf
This commit is contained in:
Domen Kožar 2021-06-24 15:46:47 +02:00 committed by GitHub
commit 018abf956a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,7 +8,7 @@ fi
# Configure Nix # Configure Nix
add_config() { 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 # Set jobs to number of cores
add_config "max-jobs = auto" add_config "max-jobs = auto"