Set max-jobs in nix.conf (#627)
This commit is contained in:
parent
05571a4990
commit
1c103edb90
|
@ -47,6 +47,7 @@ impl PlaceNixConfiguration {
|
||||||
|
|
||||||
defaults_conf_settings.push(("bash-prompt-prefix", "(nix:$name)\\040".into()));
|
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(("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 {
|
if let Some(ssl_cert_file) = ssl_cert_file {
|
||||||
let ssl_cert_file_canonical = ssl_cert_file
|
let ssl_cert_file_canonical = ssl_cert_file
|
||||||
.canonicalize()
|
.canonicalize()
|
||||||
|
|
Loading…
Reference in a new issue