hardware.nvidia.prime.intelBusId

NixOS option

Bus ID of the Intel GPU. You can find it using lspci; for example if lspci shows the Intel GPU at “0001:02:03.4”, set this option to “PCI:2@1:3:4”. lspci might omit the PCI domain (0001 in above example) if it is zero. In which case, use “@0” instead. Please be aware that this option takes decimal address while lspci reports hexadecimal address. So for device at domain “10000”, use “@65536”.

type: string matching the pattern ([[:print:]]+:[0-9]{1,3}(@[0-9]{1,10})?:[0-9]{1,2}:[0-9])?
Default
""
Example
"PCI:0@0:2:0"
declared in: nixos/modules/hardware/video/nvidia.nixView source on NixOS/nixpkgs →