summaryrefslogtreecommitdiffstats
path: root/roles/hyprland
diff options
context:
space:
mode:
Diffstat (limited to 'roles/hyprland')
-rw-r--r--roles/hyprland/templates/envs.conf.j22
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 %}