hyprland: add recommended env vars
All checks were successful
Check flake / build-amd64-linux (push) Successful in 5m10s
All checks were successful
Check flake / build-amd64-linux (push) Successful in 5m10s
This commit is contained in:
parent
c626e942cd
commit
6cdaf9b06e
@ -1,8 +1,15 @@
|
||||
{
|
||||
lib,
|
||||
pkgs,
|
||||
osConfig,
|
||||
...
|
||||
}:
|
||||
|
||||
let
|
||||
inherit (lib)
|
||||
elem
|
||||
optionals
|
||||
;
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
./hypridle.nix
|
||||
@ -13,6 +20,22 @@
|
||||
wayland.windowManager.hyprland = {
|
||||
enable = true;
|
||||
settings = {
|
||||
env =
|
||||
optionals (elem "nvidia" osConfig.services.xserver.videoDrivers) [
|
||||
"GBM_BACKEND,nvidia-drm"
|
||||
"LIBVA_DRIVER_NAME,nvidia"
|
||||
]
|
||||
++ [
|
||||
"_JAVA_AWT_WM_NONREPARENTING,1"
|
||||
"GDK_BACKEND,wayland"
|
||||
"MOZ_ENABLE_WAYLAND,1"
|
||||
"NIXOS_OZONE_WL,1"
|
||||
"QT_WAYLAND_DISABLE_WINDOWDECORATION,1"
|
||||
"QT_QPA_PLATFORM,wayland"
|
||||
"SDL_VIDEODRIVER,wayland"
|
||||
"XDG_SESSION_TYPE,wayland"
|
||||
];
|
||||
|
||||
general = {
|
||||
gaps_in = 5;
|
||||
gaps_out = 20;
|
||||
|
Loading…
x
Reference in New Issue
Block a user