summaryrefslogtreecommitdiff
path: root/.zprofile
diff options
context:
space:
mode:
Diffstat (limited to '.zprofile')
-rw-r--r--.zprofile12
1 files changed, 9 insertions, 3 deletions
diff --git a/.zprofile b/.zprofile
index 198d085..2ef15ee 100644
--- a/.zprofile
+++ b/.zprofile
@@ -38,9 +38,15 @@ export XCURSOR_THEME=Adwaita
export XCURSOR_SIZE=24
# nvidia
-#export LIBVA_DRIVER_NAME=nvidia
-#export GBM_BACKEND=nvidia-drm
-#export __GLX_VENDOR_LIBRARY_NAME=nvidia
+export LIBVA_DRIVER_NAME=nvidia
+export GBM_BACKEND=nvidia-drm
+export __GLX_VENDOR_LIBRARY_NAME=nvidia
+export __NV_PRIME_RENDER_OFFLOAD=1
+export __VK_LAYER_NV_optimus=NVIDIA_only
+
+# nvk
+#export MESA_LOADER_DRIVER_OVERRIDE=zink
+#export NOUVEAU_USE_ZINK=1
if [ -n "$TMUX" ]; then
return