nixos-configuration/modules/window-managers/hyprland/env.nix
2025-03-21 02:00:29 +01:00

15 lines
382 B
Nix
Executable file

{...}: {
wayland.windowManager.hyprland.settings.env = [
# "LIBVA_DRIVER_NAME,nvidia"
"LIBVA_DRIVER_NAME,radeonsi"
"XDG_SESSION_TYPE,wayland"
# "GBM_BACKEND,wayland"
"GTK_USE_PORTAL,1"
"__GLX_VENDOR_LIBRARY_NAME,amdgpu"
"QT_QPA_PLATFORM,wayland"
"XDG_CURRENT_DESKTOP,Hyprland"
"XDG_SESSION_DESKTOP,Hyprland"
# "MOZ_ENABLE_WAYLAND,0"
];
}