hardware.nvidia.prime.nvidiaBusId
Bus ID of the NVIDIA GPU. You can find it using lspci; for example if lspci shows the NVIDIA 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:1@0:0:0"- Declared
- <nixpkgs/nixos/modules/hardware/video/nvidia.nix>