nixos-configuration/modules/window-managers/hyprland/env.nix

17 lines
378 B
Nix
Executable file

{...}:
{
wayland.windowManager.hyprland.settings.env = [
# "LIBVA_DRIVER_NAME,nvidia"
"LIBVA_DRIVER_NAME,iHD"
"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"
];
}