Instead of setting this directly, you should set nix.linux-builder.config.virtualisation.cores to configure the amount of cores the Linux builder should have.
The number of concurrent jobs the Linux builder machine supports. The build machine will enforce its own limits, but this allows hydra to schedule better since there is no work-stealing between build machines.
This sets the corresponding nix.buildMachines.*.maxJobs
option.
Declarations
Type
positive integer, meaning >0
Default
''
The `virtualisation.cores` of the build machine's final NixOS configuration.
''
Example
2