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.
This commit is contained in:
Yegor Timoshenko
2017-12-27 07:28:30 +00:00
parent ed3ba5cc2d
commit b1304963c8
2 changed files with 13 additions and 11 deletions

View File

@@ -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
];
}