targets.genericLinux.nixGL.prime.installScript
Home-Manager option
If this option is set, the wrapper script prime-offload is installed into the environment. It allows starting programs on the secondary GPU selected by the nixGL.prime.card option. This makes sense when the program is not already using one of nixGL PRIME wrappers, or for programs not installed from Nixpkgs. This option can be set to either “mesa” or “nvidia”, making the script use one or the other graphics library.
type: null or one of “mesa”, “nvidia”Default
null
Example
declared in: <home-manager/modules/targets/generic-linux/nixgl.nix>source unavailable"mesa"