MyNixOS website logo

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:

  • mesa
  • mesaPrime
  • nvidia
  • nvidiaPrime.
Declarations
Type
one of "mesa", "mesaPrime", "nvidia", "nvidiaPrime"
Default
"mesaPrime"