From b1304963c8c296ee20918a3604f2d92227b1a868 Mon Sep 17 00:00:00 2001 From: Yegor Timoshenko Date: Wed, 27 Dec 2017 07:28:30 +0000 Subject: common/cpu/intel: add vaapi/vdpau drivers I've tested this to work on MacBookAir4,1 and I'm going to deploy it to MacBookAir6,2 today and Lenovo ThinkPad X230 in a week from now. Also, cleaned up Lenovo ThinkPad X230 profile. --- common/cpu/intel/default.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'common') diff --git a/common/cpu/intel/default.nix b/common/cpu/intel/default.nix index e3ce919..84997f1 100644 --- a/common/cpu/intel/default.nix +++ b/common/cpu/intel/default.nix @@ -1,4 +1,12 @@ +{ lib, pkgs, ... }: + { - hardware.cpu.intel.updateMicrocode = true; + hardware.cpu.intel.updateMicrocode = lib.mkDefault true; services.xserver.videoDrivers = [ "intel" ]; + + hardware.opengl.extraPackages = with pkgs; [ + vaapiIntel + vaapiVdpau + libvdpau-va-gl + ]; } -- cgit v1.2.3