2022-12-31 10:52:38 +00:00
|
|
|
{ lib, ... }:
|
2022-11-13 01:32:01 +00:00
|
|
|
|
|
|
|
{
|
|
|
|
# This runs only intel/amdgpu igpus and nvidia dgpus do not drain power.
|
|
|
|
|
|
|
|
##### disable nvidia, very nice battery life.
|
|
|
|
hardware.nvidiaOptimus.disable = lib.mkDefault true;
|
|
|
|
boot.blacklistedKernelModules = lib.mkDefault [ "nouveau" "nvidia" ];
|
|
|
|
}
|