targets.genericLinux.nixGL.prime.card

Home-Manager option

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 in: <home-manager/modules/targets/generic-linux/nixgl.nix>source unavailable