From 1f87c0fe70e05af0673ec7442a28442b60d6bfae Mon Sep 17 00:00:00 2001 From: Crony Akatsuki Date: Sat, 24 Feb 2024 12:58:32 +0100 Subject: [PATCH] Add nvidia-offload cmd gen. --- nixos/modules/nvidia.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/modules/nvidia.nix b/nixos/modules/nvidia.nix index c4d36b9..cfbe820 100644 --- a/nixos/modules/nvidia.nix +++ b/nixos/modules/nvidia.nix @@ -24,6 +24,7 @@ # Nvidia optimus prime settings hardware.nvidia.prime = { + offload.enableOffloadCmd = true; reverseSync.enable = true; intelBusId = "PCI:5:0:0"; nvidiaBusId = "PCI:1:0:0";