targets.genericLinux.nixGL.packages
Home-Manager option
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
declared in: <home-manager/modules/targets/generic-linux/nixgl.nix>source unavailableinputs.nixGL.packages