From abfdb8a590d864b4bb8668a4f47840e64f79e9c1 Mon Sep 17 00:00:00 2001 From: Tyler Beckman Date: Mon, 2 Dec 2024 19:35:25 -0700 Subject: [PATCH] Disable nvida due to overheating and sleap failures, i need to figure this out\nAt least it would be declarative and reproducable this time lol --- hosts/laptop/modules/nvidia.nix | 39 +++++++++++++++++---------------- 1 file changed, 20 insertions(+), 19 deletions(-) diff --git a/hosts/laptop/modules/nvidia.nix b/hosts/laptop/modules/nvidia.nix index ab7a9ed..d6ff818 100644 --- a/hosts/laptop/modules/nvidia.nix +++ b/hosts/laptop/modules/nvidia.nix @@ -2,29 +2,30 @@ { # Configure dual-gpu AMD+Nvidia hardware.graphics.enable = true; - services.xserver.videoDrivers = ["nvidia" "amdgpu"]; - hardware.nvidia = { - modesetting.enable = true; + services.xserver.videoDrivers = ["amdgpu"]; + # services.xserver.videoDrivers = ["nvidia" "amdgpu"]; + # hardware.nvidia = { + # modesetting.enable = true; - # Experimental nvidia power management - powerManagement.enable = false; + # # Experimental nvidia power management + # powerManagement.enable = false; - # Experimentally turn off Nvidia GPU when not in use - powerManagement.finegrained = true; + # # Experimentally turn off Nvidia GPU when not in use + # powerManagement.finegrained = true; - open = false; # Open source module is still very much beta + # open = false; # Open source module is still very much beta - nvidiaSettings = true; + # nvidiaSettings = true; - # Configure dual-gpu offloading - prime = { - amdgpuBusId = "PCI:4:0:0"; - nvidiaBusId = "PCI:1:0:0"; + # # Configure dual-gpu offloading + # prime = { + # amdgpuBusId = "PCI:4:0:0"; + # nvidiaBusId = "PCI:1:0:0"; - offload = { - enable = true; - enableOffloadCmd = true; - }; - }; - }; + # offload = { + # enable = true; + # enableOffloadCmd = true; + # }; + # }; + # }; } \ No newline at end of file