added nvidia offloading.

This commit is contained in:
Rabjerg committed 2023-02-27 10:46:11 +01:00
1 parent beadd252de
commit 53128aae66
1 file changed
+2 -1
+2 -1
View File
@@ -11,7 +11,8 @@ hardware.opengl.extraPackages = [ pkgs.mesa.drivers ];
hardware.nvidia.prime = { hardware.nvidia.prime = {
sync.enable = true; sync.enable = true;
offload.enable = true;
# Bus ID of the NVIDIA GPU. You can find it using lspci, either under 3D or VGA # Bus ID of the NVIDIA GPU. You can find it using lspci, either under 3D or VGA
nvidiaBusId = "PCI:1:0:0"; nvidiaBusId = "PCI:1:0:0";