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

This commit is contained in:
Tyler Beckman 2024-12-02 19:35:25 -07:00
parent 356f23541f
commit abfdb8a590
Signed by: Ty
GPG key ID: 2813440C772555A4

View file

@ -2,29 +2,30 @@
{ {
# Configure dual-gpu AMD+Nvidia # Configure dual-gpu AMD+Nvidia
hardware.graphics.enable = true; hardware.graphics.enable = true;
services.xserver.videoDrivers = ["nvidia" "amdgpu"]; services.xserver.videoDrivers = ["amdgpu"];
hardware.nvidia = { # services.xserver.videoDrivers = ["nvidia" "amdgpu"];
modesetting.enable = true; # hardware.nvidia = {
# modesetting.enable = true;
# Experimental nvidia power management # # Experimental nvidia power management
powerManagement.enable = false; # powerManagement.enable = false;
# Experimentally turn off Nvidia GPU when not in use # # Experimentally turn off Nvidia GPU when not in use
powerManagement.finegrained = true; # 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 # # Configure dual-gpu offloading
prime = { # prime = {
amdgpuBusId = "PCI:4:0:0"; # amdgpuBusId = "PCI:4:0:0";
nvidiaBusId = "PCI:1:0:0"; # nvidiaBusId = "PCI:1:0:0";
offload = { # offload = {
enable = true; # enable = true;
enableOffloadCmd = true; # enableOffloadCmd = true;
}; # };
}; # };
}; # };
} }