2018-06-08 22:51:07 +00:00
|
|
|
# acpi_call makes tlp work for newer thinkpads
|
|
|
|
|
2023-04-03 07:18:09 +00:00
|
|
|
{ config, lib, ... }:
|
2018-06-08 22:51:07 +00:00
|
|
|
|
|
|
|
{
|
2023-04-03 07:18:09 +00:00
|
|
|
boot = lib.mkIf config.services.tlp.enable {
|
2018-06-08 22:51:07 +00:00
|
|
|
kernelModules = [ "acpi_call" ];
|
|
|
|
extraModulePackages = with config.boot.kernelPackages; [ acpi_call ];
|
|
|
|
};
|
|
|
|
}
|