targets.genericLinux.nixGL.packages
The nixGL package set containing GPU library wrappers. This can be used
to provide OpenGL and Vulkan access to applications on non-NixOS systems
by using (config.lib.nixGL.wrap <package>) for the default wrapper, or
(config.lib.nixGL.wrappers.<wrapper> <package>) for any available
wrapper.
The wrapper functions are always available. If this option is empty (the default), they are a no-op. This is useful on NixOS where the wrappers are unnecessary.
Note that using any Nvidia wrapper requires building the configuration
with the --impure option.
- Type
null or (attribute set)- Default
null- Example
inputs.nixGL.packages- Declared
- <home-manager/modules/targets/generic-linux/nixgl.nix>