summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/hw/tp-x2x0.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2016-07-21 10:38:41 +0200
committermakefu <github@syntax-fehler.de>2016-07-21 10:38:41 +0200
commitbfc2aa3b236813945ca4f2b5d683d51c82e983b7 (patch)
tree30a25ff871c32322f6031e5d7f37c1fb765a25d5 /makefu/2configs/hw/tp-x2x0.nix
parent964062c8071b7b069ec6a2661a3530629a95a1c2 (diff)
m 2 hw/tp-x2x0: disable touchpad via synaptics
Diffstat (limited to 'makefu/2configs/hw/tp-x2x0.nix')
-rw-r--r--makefu/2configs/hw/tp-x2x0.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/makefu/2configs/hw/tp-x2x0.nix b/makefu/2configs/hw/tp-x2x0.nix
index c10ec131..9047cfb6 100644
--- a/makefu/2configs/hw/tp-x2x0.nix
+++ b/makefu/2configs/hw/tp-x2x0.nix
@@ -12,6 +12,12 @@ with config.krebs.lib;
zramSwap.enable = true;
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 = {
enable = true;
sensitivity = 220;
@@ -19,7 +25,6 @@ with config.krebs.lib;
emulateWheel = true;
};
-
services.tlp.enable = true;
services.tlp.extraConfig = ''
# BUG: http://linrunner.de/en/tlp/docs/tlp-faq.html#erratic-battery