Update Intel GPU configuration
Alan Pearce alan@alanpearce.eu
Fri, 02 Feb 2018 11:35:21 +0100
1 files changed, 5 insertions(+), 1 deletions(-)
M modules/hardware/intel-gpu.nix → modules/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" ];