mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-07-06 03:14:19 +02:00
power-profiles-daemon cannot use acpi_call. This avoids taining the kernel by installing an unnecessary kernel module.
11 lines
238 B
Nix
11 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 ];
|
|
};
|
|
}
|