From 0f2c55992677e78d5d2908d0648e410ef9b27436 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 23 Sep 2017 13:59:19 +0200 Subject: Organise modules into folders --- modules/hardware/trackball.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 modules/hardware/trackball.nix (limited to 'modules/hardware/trackball.nix') diff --git a/modules/hardware/trackball.nix b/modules/hardware/trackball.nix new file mode 100644 index 0000000..9aa5abc --- /dev/null +++ b/modules/hardware/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 + ''; +} -- cgit 1.4.1