MyNixOS website logo

The package wrapper function available for use as (config.lib.nixGL.wrap <package>). Intended to start programs on the main 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
"mesa"