Set max-jobs in nix.conf (#627)

This commit is contained in:
Ana Hobden 2023-09-13 10:38:40 -07:00 committed by GitHub
parent 05571a4990
commit 1c103edb90
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -47,6 +47,7 @@ impl PlaceNixConfiguration {
defaults_conf_settings.push(("bash-prompt-prefix", "(nix:$name)\\040".into()));
defaults_conf_settings.push(("extra-nix-path", "nixpkgs=flake:nixpkgs".into()));
defaults_conf_settings.push(("max-jobs", "auto".to_string()));
if let Some(ssl_cert_file) = ssl_cert_file {
let ssl_cert_file_canonical = ssl_cert_file
.canonicalize()