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:
parent
356f23541f
commit
abfdb8a590
1 changed files with 20 additions and 19 deletions
|
@ -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;
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
}
|
Loading…
Reference in a new issue