diff options
author | lassulus <lass@aidsballs.de> | 2015-04-07 20:39:50 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2015-05-19 23:15:56 +0200 |
commit | 931195358dd7920cc8da03bd114cf1c69ad7f393 (patch) | |
tree | eb53cb998c700f53f39c57cfa5b6e6a89b28d07a /modules | |
parent | 8f41753bb5e198b0586915b58c2b4e9e210ac100 (diff) |
module xserver: fork module synaptics
Diffstat (limited to 'modules')
-rw-r--r-- | modules/synaptics.nix | 14 | ||||
-rw-r--r-- | modules/xserver.nix | 11 |
2 files changed, 14 insertions, 11 deletions
diff --git a/modules/synaptics.nix b/modules/synaptics.nix new file mode 100644 index 0000000..c47cb9d --- /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 c652018..897dbcc 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; [ |