From 17b1a6ccf25716e69fa7d8fbd96c9aaa62d5434c Mon Sep 17 00:00:00 2001 From: Nickolaj Jepsen Date: Sat, 23 Aug 2025 23:00:03 +0200 Subject: [PATCH] chore(nvidia): add niri env var --- hosts/desktop/nvidia.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/hosts/desktop/nvidia.nix b/hosts/desktop/nvidia.nix index 5488b49..589feef 100644 --- a/hosts/desktop/nvidia.nix +++ b/hosts/desktop/nvidia.nix @@ -20,4 +20,11 @@ cursor.no_hardware_cursors = true; }; + fireproof.home-manager.programs.niri.settings = { + environment = { + "LIBVA_DRIVER_NAME" = "nvidia"; + "__GLX_VENDOR_LIBRARY_NAME" = "nvidia"; + "NVD_BACKEND" = "direct"; + }; + }; }