MyNixOS website logo

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.

Declarations
Type
null or one of "mesa", "nvidia"
Default
null
Example
"mesa"