From 2f38f13a031e967d6ab82aa3171005fdf6d44ca7 Mon Sep 17 00:00:00 2001
From: makefu <github@syntax-fehler.de>
Date: Mon, 31 Aug 2015 10:47:22 +0200
Subject: [PATCH] makefu: cleanup

---
 2configs/tp-x220.nix |  5 +----
 2configs/tp-x2x0.nix | 10 +++++++---
 2 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/2configs/tp-x220.nix b/2configs/tp-x220.nix
index 94e51f7..f039221 100644
--- a/2configs/tp-x220.nix
+++ b/2configs/tp-x220.nix
@@ -7,14 +7,11 @@ with lib;
 
   boot.kernelModules = [ "kvm-intel" ];
 
-  #services.xserver.vaapiDrivers = [pkgs.vaapiIntel pkgs.vaapiVdpau ];
-
   services.xserver = {
     videoDriver = "intel";
-    vaapiDrivers = [ pkgs.vaapiIntel ];
+    vaapiDrivers = [ pkgs.vaapiIntel pkgs.vaapiVdpau ];
     deviceSection = ''
       Option "AccelMethod" "sna"
-      BusID "PCI:0:2:0"
     '';
   };
 
diff --git a/2configs/tp-x2x0.nix b/2configs/tp-x2x0.nix
index b79d94b..aa2fc20 100644
--- a/2configs/tp-x2x0.nix
+++ b/2configs/tp-x2x0.nix
@@ -11,9 +11,13 @@ with lib;
   zramSwap.enable = true;
   zramSwap.numDevices = 2;
 
-  hardware.trackpoint.enable = true;
-  hardware.trackpoint.sensitivity = 220;
-  hardware.trackpoint.speed = 220;
+  hardware.trackpoint = {
+    enable = true;
+    sensitivity = 220;
+    speed = 220;
+    emulateWheel = true;
+    };
+
 
   services.tlp.enable = true;
   services.tlp.extraConfig = ''