From 7a1e2f83b242b6779e1590082fbe93a8ed429611 Mon Sep 17 00:00:00 2001 From: makefu Date: Sun, 23 Aug 2015 02:48:35 +0200 Subject: makefu: cleanup,refactoring after transfer --- makefu/2configs/tp-x220.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 makefu/2configs/tp-x220.nix (limited to 'makefu/2configs/tp-x220.nix') diff --git a/makefu/2configs/tp-x220.nix b/makefu/2configs/tp-x220.nix new file mode 100644 index 00000000..64eb78b1 --- /dev/null +++ b/makefu/2configs/tp-x220.nix @@ -0,0 +1,10 @@ +{ config, lib, pkgs, ... }: + +with lib; +{ + + imports = [ ./tp-x2x0.nix ]; + + boot.kernelModules = [ "kvm-intel" ]; + +} -- cgit v1.2.3 From 6c206726e33e51cfac947ada4ad5ec7e5e107830 Mon Sep 17 00:00:00 2001 From: makefu Date: Sun, 23 Aug 2015 14:15:41 +0200 Subject: makefu: add button-3 scrolling to x220 config --- makefu/2configs/tp-x220.nix | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'makefu/2configs/tp-x220.nix') diff --git a/makefu/2configs/tp-x220.nix b/makefu/2configs/tp-x220.nix index 64eb78b1..d079d5b3 100644 --- a/makefu/2configs/tp-x220.nix +++ b/makefu/2configs/tp-x220.nix @@ -6,5 +6,11 @@ with lib; imports = [ ./tp-x2x0.nix ]; 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 + ''; } -- cgit v1.2.3