all repos — archive/nixos-configuration @ 97ae80b5109f6ad75bf9464d166db6860f76d7c0

Superseded by nixfiles

Add xserver modules

Alan Pearce
commit

97ae80b5109f6ad75bf9464d166db6860f76d7c0

parent

cf85d19331d519f99ffd8652b6a279acfaa3f9be

1 file changed, 13 insertions(+), 0 deletions(-)

changed files
A 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 + ''; +}