summaryrefslogtreecommitdiffstats
path: root/lass/2configs/hw/tp-x220.nix
diff options
context:
space:
mode:
authorlassulus <lass@aidsballs.de>2016-06-28 17:56:14 +0200
committerlassulus <lass@aidsballs.de>2016-06-28 18:19:52 +0200
commit0cdc5ffca18cdb6bc1bbc88d2b40fd479078bce2 (patch)
tree4084288f5bc684c542ada713be9f9ae2a0941c29 /lass/2configs/hw/tp-x220.nix
parentabdf11a17331401e3fca5e73dd38b241614c5aea (diff)
l 2 hw tp-x220: s.x.vaapiDrivers -> h.o.extraPac..
Diffstat (limited to 'lass/2configs/hw/tp-x220.nix')
-rw-r--r--lass/2configs/hw/tp-x220.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/lass/2configs/hw/tp-x220.nix b/lass/2configs/hw/tp-x220.nix
index e8d1e7b6d..be1faccea 100644
--- a/lass/2configs/hw/tp-x220.nix
+++ b/lass/2configs/hw/tp-x220.nix
@@ -38,9 +38,13 @@ with config.krebs.lib;
extraModulePackages = [ config.boot.kernelPackages.tp_smapi ];
};
+ hardware.opengl.extraPackages = [
+ pkgs.vaapiIntel
+ pkgs.vaapiVdpau
+ ];
+
services.xserver = {
videoDriver = "intel";
- vaapiDrivers = [ pkgs.vaapiIntel pkgs.vaapiVdpau ];
deviceSection = ''
Option "AccelMethod" "sna"
'';