m 2 hw/tp-x2x0: disable touchpad via synaptics

This commit is contained in:
makefu 2016-07-21 10:38:41 +02:00
parent 964062c807
commit bfc2aa3b23
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225

View File

@ -12,6 +12,12 @@ with config.krebs.lib;
zramSwap.enable = true; zramSwap.enable = true;
zramSwap.numDevices = 2; zramSwap.numDevices = 2;
# enable synaptics so we can easily disable the touchpad
# enable the touchpad with `synclient TouchpadOff=0`
services.xserver.synaptics = {
enable = true;
additionalOptions = ''Option "TouchpadOff" "1"'';
};
hardware.trackpoint = { hardware.trackpoint = {
enable = true; enable = true;
sensitivity = 220; sensitivity = 220;
@ -19,7 +25,6 @@ with config.krebs.lib;
emulateWheel = true; emulateWheel = true;
}; };
services.tlp.enable = true; services.tlp.enable = true;
services.tlp.extraConfig = '' services.tlp.extraConfig = ''
# BUG: http://linrunner.de/en/tlp/docs/tlp-faq.html#erratic-battery # BUG: http://linrunner.de/en/tlp/docs/tlp-faq.html#erratic-battery