1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-30 06:49:43 +01:00

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.
This commit is contained in:
Maximilian Bosch 2019-09-01 17:57:50 +02:00
parent 03db9669a6
commit 4c8b4cf54f
No known key found for this signature in database
GPG key ID: 091DBF4D1FC46B8E

View file

@ -1,9 +1,10 @@
{ lib, pkgs, ... }: { config, lib, pkgs, ... }:
{ {
imports = [ ../../common/pc/laptop ]; imports = [ ../../common/pc/laptop ];
hardware.trackpoint.enable = lib.mkDefault true; 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`) # Fingerprint reader: login and unlock with fingerprint (if you add one with `fprintd-enroll`)
# services.fprintd.enable = true; # services.fprintd.enable = true;