feat: add hyprland nvidia configuration for desktop

This commit is contained in:
ooks-io 2024-02-12 11:57:43 +13:00
parent 94a096bb6d
commit bb41c51344
5 changed files with 20 additions and 1 deletions

View file

@ -46,6 +46,14 @@ in
disable_hyprland_logo = true;
force_default_wallpaper = 0;
};
env = lib.mkIf cfg.nvidia [
"LIBVA_DRIVER_NAME,nvidia"
"XDG_SESSION_TYPE,wayland"
"GBM_BACKEND,nvidia-drm"
"__GLX_VENDEOR_LIBRARY_NAME,nvidia"
"WLR_NO_HARDWARE_CURSORS,1"
];
gestures = {
workspace_swipe = true;