From 83c0bb2a2b044f125bd8adcc5080b76644dd211b Mon Sep 17 00:00:00 2001 From: Natalie Marks Date: Thu, 21 Mar 2024 19:09:28 -0700 Subject: [PATCH] updated system config --- configuration.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/configuration.nix b/configuration.nix index 2a31f16..f88c69d 100644 --- a/configuration.nix +++ b/configuration.nix @@ -82,6 +82,20 @@ # Optionally, you may need to select the appropriate driver version for your specific GPU. package = config.boot.kernelPackages.nvidiaPackages.stable; + #Fixes a glitch + nvidiaPersistenced = true; + + #Required for amdgpu and nvidia gpu pairings + # modesetting.enable = true; + + prime = { + # offload.enable = true; + #sync.enable = true; + + amdgpuBusId = "PCI:0f:00.0"; + + nvidiaBusId = "PCI:01:00.0"; + }; }; # Bootloader. #boot.loader.systemd-boot.enable = true;