diff options
author | Yegor Timoshenko <yegortimoshenko@gmail.com> | 2017-12-27 07:28:30 +0000 |
---|---|---|
committer | Yegor Timoshenko <yegortimoshenko@gmail.com> | 2017-12-27 07:31:18 +0000 |
commit | b1304963c8c296ee20918a3604f2d92227b1a868 (patch) | |
tree | 40f99555096fef0fe26a13367f8d24558450fc67 /lenovo/thinkpad/x230/default.nix | |
parent | ed3ba5cc2da6815650c2d32a6acad94477e7ad89 (diff) |
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.
Diffstat (limited to 'lenovo/thinkpad/x230/default.nix')
-rw-r--r-- | lenovo/thinkpad/x230/default.nix | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/lenovo/thinkpad/x230/default.nix b/lenovo/thinkpad/x230/default.nix index daeda9e..913b526 100644 --- a/lenovo/thinkpad/x230/default.nix +++ b/lenovo/thinkpad/x230/default.nix @@ -1,24 +1,18 @@ { config, lib, pkgs, ... }: -with lib; { +{ imports = [ ../. ../../../common/cpu/intel ]; boot = { + extraModulePackages = with config.boot.kernelPackages; [ + acpi_call + ]; kernelModules = [ "acpi_call" "tpm-rng" ]; - extraModulePackages = with config.boot.kernelPackages; [ - acpi_call - ]; }; - - hardware.opengl.extraPackages = with pkgs; [ - vaapiIntel - vaapiVdpau - libvdpau-va-gl - ]; } |