From 36c16a56c366d78e5a11b06b4e4019b361f2e817 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 2 Sep 2024 11:25:23 +0200 Subject: ... --- accounts/gkleen@sif/hyprland.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'accounts/gkleen@sif/hyprland.nix') diff --git a/accounts/gkleen@sif/hyprland.nix b/accounts/gkleen@sif/hyprland.nix index 88c71f7f..8c920354 100644 --- a/accounts/gkleen@sif/hyprland.nix +++ b/accounts/gkleen@sif/hyprland.nix @@ -23,6 +23,10 @@ in { "QT_AUTO_SCREEN_SCALE_FACTOR,1" "SDL_VIDEODRIVER,wayland" # "AQ_DRM_DEVICES,/dev/dri/by-path/pci-0000:01:00.0-card" + "__NV_PRIME_RENDER_OFFLOAD,1" + "__NV_PRIME_RENDER_OFFLOAD_PROVIDER,NVIDIA-G0" + "__GLX_VENDOR_LIBRARY_NAME,nvidia" + "__VK_LAYER_NV_optimus,NVIDIA_only" ]; xwayland.force_zero_scaling = true; -- cgit v1.2.3