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