diff options
author | makefu <github@syntax-fehler.de> | 2016-07-21 10:38:41 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2016-07-21 10:38:41 +0200 |
commit | d858e2eef9632443082609c5d7db4fe252bfed54 (patch) | |
tree | 6f99b20c35ffa41a73e97408aade752262035a0a | |
parent | 4c7303d69918d8e219408e7c49563a5306f619d7 (diff) |
m 2 hw/tp-x2x0: disable touchpad via synaptics
-rw-r--r-- | 2configs/hw/tp-x2x0.nix | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/2configs/hw/tp-x2x0.nix b/2configs/hw/tp-x2x0.nix index c10ec1314..9047cfb66 100644 --- a/2configs/hw/tp-x2x0.nix +++ b/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 |