added nvidia offloading.

This commit is contained in:
2023-02-27 10:46:11 +01:00
parent beadd252de
commit 53128aae66

View File

@@ -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";