nixos-hardware/lenovo/thinkpad/default.nix

13 lines
303 B
Nix
Raw Normal View History

2017-12-21 21:56:28 -05:00
{ 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;
}