void-packages/srcpkgs/nvidia470/files/prime-run
André Cerqueira 0e1b5ea931 New package: nvidia470-470.103.01
Closes: #34911 [via git-merge-pr]
2022-02-03 22:32:36 -07:00

5 lines
136 B
Bash

#!/bin/sh
export __NV_PRIME_RENDER_OFFLOAD=1
export __GLX_VENDOR_LIBRARY_NAME=nvidia
export __VK_LAYER_NV_optimus=NVIDIA_only
exec "$@"