nixos-hardware/common/pc/laptop/acpi_call.nix

11 lines
238 B
Nix
Raw Normal View History

2018-06-08 22:51:07 +00:00
# acpi_call makes tlp work for newer thinkpads
{ config, lib, ... }:
2018-06-08 22:51:07 +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 ];
};
}