mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-23 11:29:42 +01:00
Merge pull request #117 from Ma27/thinkpad-trackpoint-fixes
thinkpad: minor trackpoint fixes
This commit is contained in:
commit
4ffa2ed198
2 changed files with 6 additions and 1 deletions
|
@ -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;
|
||||||
|
|
|
@ -12,4 +12,8 @@
|
||||||
../../../../common/pc/laptop/acpi_call.nix
|
../../../../common/pc/laptop/acpi_call.nix
|
||||||
../../../../common/pc/laptop/cpu-throttling-bug.nix
|
../../../../common/pc/laptop/cpu-throttling-bug.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# New ThinkPads have a different TrackPoint manufacturer/name.
|
||||||
|
# See also https://certification.ubuntu.com/catalog/component/input/5313/input%3ATPPS/2ElanTrackPoint/
|
||||||
|
hardware.trackpoint.device = "TPPS/2 Elan TrackPoint";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue