hyprland: add recommended env vars
All checks were successful
Check flake / build-amd64-linux (push) Successful in 3m13s
All checks were successful
Check flake / build-amd64-linux (push) Successful in 3m13s
This commit is contained in:
parent
1001119829
commit
d1b805789b
@ -1,8 +1,15 @@
|
|||||||
{
|
{
|
||||||
|
lib,
|
||||||
pkgs,
|
pkgs,
|
||||||
|
osConfig,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
|
let
|
||||||
|
inherit (lib)
|
||||||
|
elem
|
||||||
|
optionals
|
||||||
|
;
|
||||||
|
in
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./hypridle.nix
|
./hypridle.nix
|
||||||
@ -13,6 +20,22 @@
|
|||||||
wayland.windowManager.hyprland = {
|
wayland.windowManager.hyprland = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
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 = {
|
general = {
|
||||||
gaps_in = 5;
|
gaps_in = 5;
|
||||||
gaps_out = 20;
|
gaps_out = 20;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user