summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules/synaptics.nix14
-rw-r--r--modules/xserver.nix11
-rw-r--r--wu.nix1
3 files changed, 15 insertions, 11 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"
+ '';
+ };
+}
diff --git a/modules/xserver.nix b/modules/xserver.nix
index c65201802..897dbcc28 100644
--- a/modules/xserver.nix
+++ b/modules/xserver.nix
@@ -19,17 +19,6 @@
# services.xserver.layout = "us";
# services.xserver.xkbOptions = "eurosign:e";
- # TODO this is host specific
- services.xserver.synaptics = {
- enable = true;
- twoFingerScroll = true;
- accelFactor = "0.035";
- additionalOptions = ''
- Option "FingerHigh" "60"
- Option "FingerLow" "60"
- '';
- };
-
#services.xserver.multitouch.enable = true;
services.xserver.windowManager.xmonad.extraPackages = hspkgs: with hspkgs; [
diff --git a/wu.nix b/wu.nix
index 8b4beed6c..e84e31693 100644
--- a/wu.nix
+++ b/wu.nix
@@ -17,6 +17,7 @@ in
#./modules/tools.nix
./modules/hosts.nix
./modules/xserver.nix
+ ./modules/synaptics.nix
./modules/exim.nix
./modules/nginx.nix
];