targets.genericLinux.nixGL.prime.card
Selects the non-default graphics card used for PRIME render offloading. The value can be:
- a number, selecting the n-th non-default GPU;
- a PCI bus id in the form
pci-XXX_YY_ZZ_U; - a PCI id in the form
vendor_id:device_id
For more information, consult the Mesa documentation on the DRI_PRIME
environment variable.
- Type
string- Default
"1"- Example
"pci-0000_06_00_0"- Declared
- <home-manager/modules/targets/generic-linux/nixgl.nix>