diff options
Diffstat (limited to 'modules/workstation/input/trackpoint.nix')
-rw-r--r-- | modules/workstation/input/trackpoint.nix | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/modules/workstation/input/trackpoint.nix b/modules/workstation/input/trackpoint.nix new file mode 100644 index 00000000000..e4019d6361d --- /dev/null +++ b/modules/workstation/input/trackpoint.nix @@ -0,0 +1,17 @@ +/* TRACKPOINT INPUT CONFIGURATION + * + * This is a compatibility module for Thinkpad computers + */ + +{ config, .... }: { + services.xserver.libinput = { + accelProfile = "flat"; + accelSpeed = "-0.2"; + scrollButton = 2; + }; + + hardware.trackpoint = { + enable = true; + emulateWheel = true; + }; +} |