thinkpad: enable tp_smapi on all ThinkPads
This commit is contained in:
parent
1133ce7d83
commit
ee47d31478
|
@ -5,6 +5,11 @@ let
|
||||||
in
|
in
|
||||||
|
|
||||||
{
|
{
|
||||||
|
boot = {
|
||||||
|
kernelModules = [ "tp_smapi" ];
|
||||||
|
extraModulePackages = with config.boot.kernelPackages; [ tp_smapi ];
|
||||||
|
};
|
||||||
|
|
||||||
hardware.trackpoint.enable = mkDefault true;
|
hardware.trackpoint.enable = mkDefault true;
|
||||||
services.tlp.enable = mkDefault true;
|
services.tlp.enable = mkDefault true;
|
||||||
services.xserver.libinput.enable = mkDefault true;
|
services.xserver.libinput.enable = mkDefault true;
|
||||||
|
|
|
@ -3,11 +3,6 @@
|
||||||
{
|
{
|
||||||
imports = [ ../intel.nix ];
|
imports = [ ../intel.nix ];
|
||||||
|
|
||||||
boot = {
|
|
||||||
kernelModules = [ "tp_smapi" ];
|
|
||||||
extraModulePackages = with config.boot.kernelPackages; [ tp_smapi ];
|
|
||||||
};
|
|
||||||
|
|
||||||
# hard disk protection if the laptop falls
|
# hard disk protection if the laptop falls
|
||||||
services.hdapsd.enable = true;
|
services.hdapsd.enable = true;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue