aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorBjørn Forsman <bjorn.forsman@gmail.com>2019-03-27 16:24:58 +0100
committerBjørn Forsman <bjorn.forsman@gmail.com>2019-03-27 16:26:14 +0100
commit07d9981f34c8423e74a8dc1b4f978fe58b421aee (patch)
tree7a5e4fcb3d7166b140d38558c71050f26074d900 /scripts
parentdbe4c043d75f90f30932d326d2c80fd030b1f06d (diff)
install-multi-user: remove unneeded settings from nix.conf
Hardcoding the "max-jobs" and "cores" settings in nix.conf at install time, to the same value as Nix' built-in default, makes little sense to me.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/install-multi-user.sh3
1 files changed, 0 insertions, 3 deletions
diff --git a/scripts/install-multi-user.sh b/scripts/install-multi-user.sh
index 6a76761cc..1e1db21c3 100644
--- a/scripts/install-multi-user.sh
+++ b/scripts/install-multi-user.sh
@@ -741,9 +741,6 @@ setup_default_profile() {
place_nix_configuration() {
cat <<EOF > "$SCRATCH/nix.conf"
build-users-group = $NIX_BUILD_GROUP_NAME
-
-max-jobs = 1
-cores = 1
EOF
_sudo "to place the default nix daemon configuration (part 2)" \
install -m 0664 "$SCRATCH/nix.conf" /etc/nix/nix.conf