all repos — archive/nixos-configuration @ c4c502a39489719b3922daab42f3a25014c069e2

Superseded by nixfiles

Update Intel GPU configuration

Alan Pearce
commit

c4c502a39489719b3922daab42f3a25014c069e2

parent

c69589291f0199bd6ea755a6e857c9d0008ba93c

1 file changed, 5 insertions(+), 1 deletion(-)

jump to
M modules/hardware/intel-gpu.nixmodules/hardware/intel-gpu.nix
@@ -2,14 +2,18 @@ { config, pkgs, ... }:
{ hardware.opengl.extraPackages = with pkgs; [ vaapiIntel + vaapiVdpau + libvdpau-va-gl ]; + + services.xserver.videoDrivers = [ "intel" ]; boot.earlyVconsoleSetup = true; boot.initrd.kernelModules = [ "i915" "intel_agp" ]; - boot.kernelModules = [ + boot.kernelModules = pkgs.lib.mkBefore [ "i915" "intel_agp" ];