epyc: init hydra settings properly
This commit is contained in:
parent
567b99aa57
commit
d9d32e0194
3 changed files with 95 additions and 3 deletions
|
@ -42,13 +42,17 @@ in
|
|||
package = pkgs.nixVersions.nix_2_13;
|
||||
|
||||
# should be enough?
|
||||
nrBuildUsers = lib.mkDefault 32;
|
||||
nrBuildUsers = 128;
|
||||
|
||||
# https://github.com/NixOS/nix/issues/719
|
||||
daemonCPUSchedPolicy = "batch";
|
||||
daemonIOSchedClass = "best-effort";
|
||||
daemonIOSchedPriority = 5;
|
||||
|
||||
settings = {
|
||||
keep-outputs = true;
|
||||
keep-derivations = true;
|
||||
max-jobs = 64;
|
||||
# in zfs we trust
|
||||
fsync-metadata = lib.boolToString (!config.boot.isContainer or config.fileSystems."/".fsType != "zfs");
|
||||
substituters = [
|
||||
|
|
Reference in a new issue