summaryrefslogtreecommitdiffstats
path: root/modules/synaptics.nix
diff options
context:
space:
mode:
authorlassulus <lass@aidsballs.de>2015-04-07 20:39:50 +0200
committertv <tv@shackspace.de>2015-05-19 23:15:56 +0200
commit08b5a4eefc01398519761075fefad8966d4ab72d (patch)
treeeb53cb998c700f53f39c57cfa5b6e6a89b28d07a /modules/synaptics.nix
parent5e264d7ec671782daf8ce2c6c2f196794bd5848b (diff)
module xserver: fork module synaptics
Diffstat (limited to 'modules/synaptics.nix')
-rw-r--r--modules/synaptics.nix14
1 files changed, 14 insertions, 0 deletions
diff --git a/modules/synaptics.nix b/modules/synaptics.nix
new file mode 100644
index 000000000..c47cb9deb
--- /dev/null
+++ b/modules/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"
+ '';
+ };
+}