1
0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-06-28 15:38:32 +02:00
nixos-hardware/lenovo/thinkpad/default.nix

16 lines
445 B
Nix

{ config, lib, pkgs, ... }:
{
boot = {
kernelModules = [ "tp_smapi" ];
extraModulePackages = with config.boot.kernelPackages; [ tp_smapi ];
};
hardware.trackpoint.enable = lib.mkDefault true;
services.tlp.enable = lib.mkDefault true;
services.xserver.libinput.enable = lib.mkDefault true;
# Fingerprint reader: login and unlock with fingerprint (if you add one with `fprintd-enroll`)
# services.fprintd.enable = true;
}