From 91f2476cd22750c2446fb2cd69bbf5f196d5d666 Mon Sep 17 00:00:00 2001 From: Michael Thomson Date: Fri, 7 Mar 2025 15:41:05 -0500 Subject: [PATCH] nvidia wayland flags --- modules/home-manager/hyprland.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/home-manager/hyprland.nix b/modules/home-manager/hyprland.nix index 98916d4..9d762c3 100644 --- a/modules/home-manager/hyprland.nix +++ b/modules/home-manager/hyprland.nix @@ -9,6 +9,10 @@ inputs, package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland; portalPackage = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland; settings = { + env = [ + "LIBVA_DRIVER_NAME,nvidia" + "__GLX_VENDOR_LIBRARY_NAME,nvidia" + ]; monitor = [ "DP-1,1920x1080,0x0,1" "HDMI-A-1,1920x1080,1920x0,1"