mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-12-05 01:09:44 +01:00
10 lines
259 B
Nix
10 lines
259 B
Nix
|
{ lib, pkgs, ... }:
|
||
|
|
||
|
{
|
||
|
# This runs only Intel and nvidia does not drain power.
|
||
|
|
||
|
##### disable nvidia, very nice battery life.
|
||
|
hardware.nvidiaOptimus.disable = lib.mkDefault true;
|
||
|
boot.blacklistedKernelModules = lib.mkDefault [ "nouveau" "nvidia" ];
|
||
|
}
|