Skip to content

Commit

Permalink
Merge pull request #12031 from DeterminateSystems/fixup-mode-typos
Browse files Browse the repository at this point in the history
Install .nix-channels and nix.conf with 644 instead of 664
  • Loading branch information
Mic92 authored Dec 10, 2024
2 parents 747256c + 8768239 commit 8c25eac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/install-multi-user.sh
Original file line number Diff line number Diff line change
Expand Up @@ -690,7 +690,7 @@ place_channel_configuration() {
if [ -z "${NIX_INSTALLER_NO_CHANNEL_ADD:-}" ]; then
echo "https://nixos.org/channels/nixpkgs-unstable nixpkgs" > "$SCRATCH/.nix-channels"
_sudo "to set up the default system channel (part 1)" \
install -m 0664 "$SCRATCH/.nix-channels" "$ROOT_HOME/.nix-channels"
install -m 0644 "$SCRATCH/.nix-channels" "$ROOT_HOME/.nix-channels"
fi
}

Expand Down Expand Up @@ -964,7 +964,7 @@ $NIX_EXTRA_CONF
build-users-group = $NIX_BUILD_GROUP_NAME
EOF
_sudo "to place the default nix daemon configuration (part 2)" \
install -m 0664 "$SCRATCH/nix.conf" /etc/nix/nix.conf
install -m 0644 "$SCRATCH/nix.conf" /etc/nix/nix.conf
}


Expand Down

0 comments on commit 8c25eac

Please sign in to comment.