diff options
Diffstat (limited to 'modules/hardware')
-rw-r--r-- | modules/hardware/thinkpad.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/hardware/thinkpad.nix b/modules/hardware/thinkpad.nix index f94b5934..e4c1cd70 100644 --- a/modules/hardware/thinkpad.nix +++ b/modules/hardware/thinkpad.nix @@ -27,5 +27,15 @@ in # TLP Linux Advanced Power Management services.tlp.enable = mkDefault true; + boot = { + # acpi_call is required for some tlp features, e.g. discharge/recalibrate + kernelModules = [ + "acpi_call" + ]; + + extraModulePackages = [ + config.boot.kernelPackages.acpi_call + ]; + }; }; } |