programs.gamescope.env
Default environment variables available to the GameScope process, overridable at runtime.
- Type
attribute set of string- Default
{ }- Example
# for Prime render offload on Nvidia laptops. # Also requires `hardware.nvidia.prime.offload.enable`. { __NV_PRIME_RENDER_OFFLOAD = "1"; __VK_LAYER_NV_optimus = "NVIDIA_only"; __GLX_VENDOR_LIBRARY_NAME = "nvidia"; }- Declared
- <nixpkgs/nixos/modules/programs/gamescope.nix>