targets.genericLinux.nixGL.offloadWrapper

The package wrapper function available for use as (config.lib.nixGL.wrapOffload <package>). Intended to start programs on the secondary GPU.

Wrapper functions can be found under config.lib.nixGL.wrappers. They can be used directly, however, setting this option provides a convenient shorthand.

The following wrappers are available:

Type
one of "mesa", "mesaPrime", "nvidia", "nvidiaPrime"
Default
"mesaPrime"
Declared
<home-manager/modules/targets/generic-linux/nixgl.nix>