From b0f31689acd3c7da53ad003ff392205c3131efa3 Mon Sep 17 00:00:00 2001 From: Thiago Kenji Okada Date: Fri, 11 Jun 2021 17:04:10 -0300 Subject: [PATCH] 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. --- common/gpu/nvidia-disable.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/common/gpu/nvidia-disable.nix b/common/gpu/nvidia-disable.nix index 53c53d9..f2e2158 100644 --- a/common/gpu/nvidia-disable.nix +++ b/common/gpu/nvidia-disable.nix @@ -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" ]; }