thinkpad: enable tp_smapi on all ThinkPads

This commit is contained in:
Yegor Timoshenko 2017-12-22 17:15:52 +00:00
parent 1133ce7d83
commit ee47d31478
No known key found for this signature in database
GPG key ID: C34BF9DCC9DF8210
2 changed files with 5 additions and 5 deletions

View file

@ -5,6 +5,11 @@ let
in
{
boot = {
kernelModules = [ "tp_smapi" ];
extraModulePackages = with config.boot.kernelPackages; [ tp_smapi ];
};
hardware.trackpoint.enable = mkDefault true;
services.tlp.enable = mkDefault true;
services.xserver.libinput.enable = mkDefault true;

View file

@ -3,11 +3,6 @@
{
imports = [ ../intel.nix ];
boot = {
kernelModules = [ "tp_smapi" ];
extraModulePackages = with config.boot.kernelPackages; [ tp_smapi ];
};
# hard disk protection if the laptop falls
services.hdapsd.enable = true;