l 2 hw tp-x220: s.x.vaapiDrivers -> h.o.extraPac..

This commit is contained in:
lassulus 2016-06-28 17:56:14 +02:00
parent abdf11a173
commit 0cdc5ffca1

View File

@ -38,9 +38,13 @@ with config.krebs.lib;
extraModulePackages = [ config.boot.kernelPackages.tp_smapi ]; extraModulePackages = [ config.boot.kernelPackages.tp_smapi ];
}; };
hardware.opengl.extraPackages = [
pkgs.vaapiIntel
pkgs.vaapiVdpau
];
services.xserver = { services.xserver = {
videoDriver = "intel"; videoDriver = "intel";
vaapiDrivers = [ pkgs.vaapiIntel pkgs.vaapiVdpau ];
deviceSection = '' deviceSection = ''
Option "AccelMethod" "sna" Option "AccelMethod" "sna"
''; '';