diff options
| author | Ahmed Abdelhalim <[email protected]> | 2026-07-14 17:24:38 +0200 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2026-07-14 17:24:38 +0200 |
| commit | 4f29b6dd05b4826f7a1df57d70537f2dc8d1d8f8 (patch) | |
| tree | 87a992ea9b0b83730d22194b353036a34d09d205 /roles/hyprland/templates | |
| parent | 0e24c6583a159d1e7626cffec25e30f0656f09b8 (diff) | |
Replace hyprland_nvidia boolean with a fact from the role
This to make the role have less configurations, and less prune to human
errors
Diffstat (limited to 'roles/hyprland/templates')
| -rw-r--r-- | roles/hyprland/templates/uwsm/env.j2 | 2 |
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 |
