nix.settings.cores

NixOS option

This option defines the maximum number of concurrent tasks during one build. It affects, e.g., -j option for make. The special value 0 means that the builder should use all available CPU cores in the system. Some builds may become non-deterministic with this option; use with care! Packages will only be affected if enableParallelBuilding is set for them.

type: signed integer
Default
0
Example
64
declared in: nixos/modules/config/nix.nixView source on NixOS/nixpkgs →