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 >0
Default
1
declared in: nixos/modules/virtualisation/qemu-vm.nixView source on NixOS/nixpkgs →