diff options
author | Maximilian Bosch <maximilian@mbosch.me> | 2019-09-01 17:57:50 +0200 |
---|---|---|
committer | Maximilian Bosch <maximilian@mbosch.me> | 2019-09-01 17:59:17 +0200 |
commit | 4c8b4cf54fea8d3a67152b1292bec4b15ce5feec (patch) | |
tree | 4fa0664a47bb81b5f26280523ee5da57e50db033 | |
parent | 03db9669a6fc712e9537201d55639287eb606765 (diff) |
thinkpad: emulate wheel for a trackpoint by default
Most trackpoint users I know use the middle-button to have some
scrolling functionality. So I think that for ThinkPads at least we
should have this enabled by default if the trackpoint shall be used.
-rw-r--r-- | lenovo/thinkpad/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lenovo/thinkpad/default.nix b/lenovo/thinkpad/default.nix index ff22639..99d4937 100644 --- a/lenovo/thinkpad/default.nix +++ b/lenovo/thinkpad/default.nix @@ -1,9 +1,10 @@ -{ lib, pkgs, ... }: +{ config, lib, pkgs, ... }: { imports = [ ../../common/pc/laptop ]; hardware.trackpoint.enable = lib.mkDefault true; + hardware.trackpoint.emulateWheel = lib.mkDefault config.hardware.trackpoint.enable; # Fingerprint reader: login and unlock with fingerprint (if you add one with `fprintd-enroll`) # services.fprintd.enable = true; |