mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-18 08:59:41 +01:00
9 lines
270 B
Nix
9 lines
270 B
Nix
{ lib, ... }:
|
|
|
|
{
|
|
# 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" ];
|
|
}
|