Remove intel drivers from nvidia-disable

Two reasons for this change:
- `intel` drivers are not updated from quite a long time (since ~2019),
  and `modesetting` is the preferred one for Intel iGPUs.
- Technically you may want to disable NVIDIA GPUs on laptops with AMD
  processors too.

We don't want to pin `modesetting` here because it is already the default
since PR: https://github.com/NixOS/nixpkgs/pull/111551.
This commit is contained in:
Thiago Kenji Okada 2021-06-11 17:04:10 -03:00
parent 6bea976169
commit b0f31689ac
1 changed files with 0 additions and 1 deletions

View File

@ -6,5 +6,4 @@
##### disable nvidia, very nice battery life.
hardware.nvidiaOptimus.disable = lib.mkDefault true;
boot.blacklistedKernelModules = lib.mkDefault [ "nouveau" "nvidia" ];
services.xserver.videoDrivers = lib.mkDefault [ "intel" ];
}