virtualisation.cores
NixOS option
Specify the number of cores the guest is permitted to use. The number can be higher than the available cores on the host system.
type: positive integer, meaning >0Default
declared in: nixos/modules/virtualisation/qemu-vm.nixView source on NixOS/nixpkgs →1