diff options
| author | Ahmed Abdelhalim <[email protected]> | 2026-02-20 19:29:29 +0100 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2026-02-20 19:29:29 +0100 |
| commit | a288fe2b56dfd11a5af2a8dc7d80502b6095199e (patch) | |
| tree | c2cb0adfdbb035a6ff668f74441ed61426701809 | |
| parent | 08317dd9f8a12cdea733cd3669eab08a77959838 (diff) | |
Add nvidia and XDG environments
| -rw-r--r-- | roles/hyprland/templates/envs.conf.j2 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/roles/hyprland/templates/envs.conf.j2 b/roles/hyprland/templates/envs.conf.j2 index e96c9a57..8278ba95 100644 --- a/roles/hyprland/templates/envs.conf.j2 +++ b/roles/hyprland/templates/envs.conf.j2 @@ -20,10 +20,12 @@ env = XDG_SESSION_TYPE,wayland # Allow better support for screen sharing (Google Meet, Discord, etc) env = XDG_CURRENT_DESKTOP,Hyprland env = XDG_SESSION_DESKTOP,Hyprland +env = XDG_SESSION_TYPE,wayland {% if hyprland_nvidia %} # NVIDIA Wayland support env = LIBVA_DRIVER_NAME,nvidia +env = GBM_BACKEND,,nvidia-drm env = __GLX_VENDOR_LIBRARY_NAME,nvidia env = NVD_BACKEND,direct {% endif %} |
