From a23f90200a74148487a291016c25e7327677efb4 Mon Sep 17 00:00:00 2001 From: Random936 Date: Mon, 17 Jun 2024 08:17:58 -0700 Subject: [PATCH] switched to nvidia optimus settings --- nixos/configuration.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/nixos/configuration.nix b/nixos/configuration.nix index 2526ad4..0d4519a 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -49,6 +49,17 @@ powerManagement.finegrained = false; open = false; # Don't use open source kernel. nvidiaSettings = true; + + prime = { + + offload = { + enable = true; + enableOffloadCmd = true; + }; + + intelBusId = "PCI:0:2:0"; + nvidiaBusId = "PCI:1:0:0"; + }; }; # Fix issue with Nvidia display scaling.