summaryrefslogtreecommitdiffstats
path: root/tv/configs/synaptics.nix
diff options
context:
space:
mode:
Diffstat (limited to 'tv/configs/synaptics.nix')
-rw-r--r--tv/configs/synaptics.nix14
1 files changed, 14 insertions, 0 deletions
diff --git a/tv/configs/synaptics.nix b/tv/configs/synaptics.nix
new file mode 100644
index 000000000..c47cb9deb
--- /dev/null
+++ b/tv/configs/synaptics.nix
@@ -0,0 +1,14 @@
+{ config, pkgs, ... }:
+
+{
+ # TODO this is host specific
+ services.xserver.synaptics = {
+ enable = true;
+ twoFingerScroll = true;
+ accelFactor = "0.035";
+ additionalOptions = ''
+ Option "FingerHigh" "60"
+ Option "FingerLow" "60"
+ '';
+ };
+}