nixos-hardware/lenovo/thinkpad/default.nix
2017-12-24 01:20:36 +00:00

13 lines
303 B
Nix

{ 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;
}