2025-01-03 01:26:51 +00:00
|
|
|
{config, ...}: {
|
|
|
|
hardware.nvidia = {
|
|
|
|
open = true;
|
2025-01-21 21:10:02 +00:00
|
|
|
package = config.boot.kernelPackages.nvidiaPackages.beta;
|
2025-01-03 01:26:51 +00:00
|
|
|
prime = {
|
|
|
|
intelBusId = "PCI:0:2:0";
|
|
|
|
nvidiaBusId = "PCI:1:0:0";
|
|
|
|
offload = {
|
|
|
|
enable = true;
|
|
|
|
enableOffloadCmd = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
boot.blacklistedKernelModules = ["nouveau"];
|
|
|
|
services.xserver.videoDrivers = ["nvidia"];
|
|
|
|
}
|