From 53128aae6606b36ff6fcd31699288ecfca1e8935 Mon Sep 17 00:00:00 2001 From: Adam Rabjerg Date: Mon, 27 Feb 2023 10:46:11 +0100 Subject: [PATCH] added nvidia offloading. --- nvidia-intel.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nvidia-intel.nix b/nvidia-intel.nix index 3c1706f..59b0f7e 100644 --- a/nvidia-intel.nix +++ b/nvidia-intel.nix @@ -11,7 +11,8 @@ hardware.opengl.extraPackages = [ pkgs.mesa.drivers ]; hardware.nvidia.prime = { sync.enable = true; - + offload.enable = true; + # Bus ID of the NVIDIA GPU. You can find it using lspci, either under 3D or VGA nvidiaBusId = "PCI:1:0:0";