module xserver: fork module synaptics
This commit is contained in:
parent
5e264d7ec6
commit
08b5a4eefc
14
modules/synaptics.nix
Normal file
14
modules/synaptics.nix
Normal 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"
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
}
|
@ -19,17 +19,6 @@
|
|||||||
# services.xserver.layout = "us";
|
# services.xserver.layout = "us";
|
||||||
# services.xserver.xkbOptions = "eurosign:e";
|
# 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.multitouch.enable = true;
|
||||||
|
|
||||||
services.xserver.windowManager.xmonad.extraPackages = hspkgs: with hspkgs; [
|
services.xserver.windowManager.xmonad.extraPackages = hspkgs: with hspkgs; [
|
||||||
|
Loading…
Reference in New Issue
Block a user