summaryrefslogtreecommitdiffstats
path: root/roles/hyprland/templates/uwsm/env.j2
diff options
context:
space:
mode:
Diffstat (limited to 'roles/hyprland/templates/uwsm/env.j2')
-rw-r--r--roles/hyprland/templates/uwsm/env.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/hyprland/templates/uwsm/env.j2 b/roles/hyprland/templates/uwsm/env.j2
index f0a03b64..f33b1565 100644
--- a/roles/hyprland/templates/uwsm/env.j2
+++ b/roles/hyprland/templates/uwsm/env.j2
@@ -17,7 +17,7 @@ export MOZ_ENABLE_WAYLAND=1
export ELECTRON_OZONE_PLATFORM_HINT=wayland
export OZONE_PLATFORM=wayland
-{% if hyprland_nvidia %}
+{% if hyprland_nvidia_detected.rc == 0 %}
# NVIDIA Wayland support
export LIBVA_DRIVER_NAME=nvidia
export GBM_BACKEND=nvidia-drm