1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-12-27 03:59:45 +01:00
nixos-hardware/common/pc/laptop/acpi_call.nix

11 lines
238 B
Nix
Raw Normal View History

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