module xserver: fork module synaptics

This commit is contained in:
lassulus 2015-04-07 20:39:50 +02:00 committed by tv
parent 5e264d7ec6
commit 08b5a4eefc
3 changed files with 15 additions and 11 deletions

14
modules/synaptics.nix Normal file
View File

@ -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"
'';
};
}

View File

@ -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; [

1
wu.nix
View File

@ -17,6 +17,7 @@ in
#./modules/tools.nix
./modules/hosts.nix
./modules/xserver.nix
./modules/synaptics.nix
./modules/exim.nix
./modules/nginx.nix
];