mirror of
https://github.com/NixOS/nix
synced 2025-06-29 23:13:14 +02:00
Add use-ssh-substituter setting.
It defaults to false and can be overridden by RemoteStore. Untested currently, just quickly put this together
This commit is contained in:
parent
36b90e72d7
commit
df5de9dfd7
3 changed files with 17 additions and 0 deletions
|
@ -41,6 +41,7 @@ Settings::Settings()
|
|||
syncBeforeRegistering = false;
|
||||
useSubstitutes = true;
|
||||
useChroot = false;
|
||||
useSshSubstituter = false;
|
||||
dirsInChroot.insert("/dev");
|
||||
dirsInChroot.insert("/dev/pts");
|
||||
impersonateLinux26 = false;
|
||||
|
@ -153,6 +154,7 @@ void Settings::update()
|
|||
get(autoOptimiseStore, "auto-optimise-store");
|
||||
get(envKeepDerivations, "env-keep-derivations");
|
||||
get(sshSubstituterHosts, "ssh-substituter-hosts");
|
||||
get(useSshSubstituter, "use-ssh-substituter");
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue