diff options
author | Alan Pearce | 2017-09-09 15:04:51 +0200 |
---|---|---|
committer | Alan Pearce | 2017-09-09 16:49:30 +0200 |
commit | 97ae80b5109f6ad75bf9464d166db6860f76d7c0 (patch) | |
tree | b57920ebe7d915532810337354a1b1ef033cf3c0 /modules/trackball.nix | |
parent | cf85d19331d519f99ffd8652b6a279acfaa3f9be (diff) | |
download | nixfiles-97ae80b5109f6ad75bf9464d166db6860f76d7c0.tar.lz nixfiles-97ae80b5109f6ad75bf9464d166db6860f76d7c0.tar.zst nixfiles-97ae80b5109f6ad75bf9464d166db6860f76d7c0.zip |
Add xserver modules
Diffstat (limited to 'modules/trackball.nix')
-rw-r--r-- | modules/trackball.nix | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/modules/trackball.nix b/modules/trackball.nix new file mode 100644 index 00000000..9aa5abc0 --- /dev/null +++ b/modules/trackball.nix @@ -0,0 +1,13 @@ +{ config, pkgs, ... }: + +{ services.xserver.config = '' + Section "InputClass" + Identifier "Trackball (No Acceleration)" + MatchIsPointer "yes" + MatchIsTouchpad "no" + MatchProduct "Trackball" + Option "AccelerationProfile" "-1" + Option "AccelerationScheme" "none" + EndSection + ''; +} |