makefu: add button-3 scrolling to x220 config

This commit is contained in:
makefu 2015-08-23 14:15:41 +02:00
parent 7a1e2f83b2
commit 6c206726e3
2 changed files with 6 additions and 4 deletions

View File

@ -25,10 +25,6 @@
krebs.build.user = config.krebs.users.makefu; krebs.build.user = config.krebs.users.makefu;
krebs.build.target = "root@pornocauster"; krebs.build.target = "root@pornocauster";
boot.kernelModules = [ "kvm-intel" ];
networking.firewall.allowedTCPPorts = [ networking.firewall.allowedTCPPorts = [
25 25
]; ];

View File

@ -6,5 +6,11 @@ with lib;
imports = [ ./tp-x2x0.nix ]; imports = [ ./tp-x2x0.nix ];
boot.kernelModules = [ "kvm-intel" ]; boot.kernelModules = [ "kvm-intel" ];
services.xserver.displayManager.sessionCommands =''
xinput set-int-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation" 8 1
xinput set-int-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Button" 8 2
xinput set-int-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Timeout" 8 200
xinput set-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Axes" 6 7 4 5
'';
} }