Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
refactor: document ssl-cert-file vs NIX_SSL_CERT_FILE
  • Loading branch information
sandydoo committed Sep 21, 2025
commit 581a1341225b995dc4f3ee8b15657b1cd31a1146
5 changes: 3 additions & 2 deletions install-nix.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,13 @@ trap 'rm -rf "$workdir"' EXIT

# Configure Nix
add_config() {
echo "$1" >> "$workdir/nix.conf"
echo "$1" >>"$workdir/nix.conf"
}
add_config "show-trace = true"
# Set jobs to number of cores
add_config "max-jobs = auto"
# TODO: is this still necessary if we set NIX_SSL_CERT_FILE below?
# Configure the nix-daemon to use certificates.
# In multi-user installs, NIX_SSL_CERT_FILE only works if set in the daemon's service file.
if [[ $OSTYPE =~ darwin ]]; then
add_config "ssl-cert-file = /etc/ssl/cert.pem"
fi
Expand Down