diff options
author | Katharina Fey <kookie@spacekookie.de> | 2019-10-06 19:48:14 +0000 |
---|---|---|
committer | Katharina Fey <kookie@spacekookie.de> | 2019-10-06 19:55:18 +0000 |
commit | b41c025fc13203214a45746e9c1a8b346602afea (patch) | |
tree | c993436c2e84c7706bba031394658bce2fe425cb /modules/workstation/hardware/trackpoint/default.nix | |
parent | 643a6b1b719f711695e356ab5b827e4824c5f26d (diff) |
<>: Move trackout module from input to hardware
Diffstat (limited to 'modules/workstation/hardware/trackpoint/default.nix')
-rw-r--r-- | modules/workstation/hardware/trackpoint/default.nix | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/modules/workstation/hardware/trackpoint/default.nix b/modules/workstation/hardware/trackpoint/default.nix new file mode 100644 index 00000000000..58de0a72be6 --- /dev/null +++ b/modules/workstation/hardware/trackpoint/default.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; + }; +} |