mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-12-27 03:59:45 +01:00
d28d2a2494
power-profiles-daemon cannot use acpi_call. This avoids taining the kernel by installing an unnecessary kernel module.
10 lines
238 B
Nix
10 lines
238 B
Nix
# acpi_call makes tlp work for newer thinkpads
|
|
|
|
{ config, lib, ... }:
|
|
|
|
{
|
|
boot = lib.mkIf config.services.tlp.enable {
|
|
kernelModules = [ "acpi_call" ];
|
|
extraModulePackages = with config.boot.kernelPackages; [ acpi_call ];
|
|
};
|
|
}
|