Add acpi_call module

This commit is contained in:
Michael Peyton Jones 2018-06-08 23:51:07 +01:00
parent cfee9e13a5
commit cbdcc55f37
2 changed files with 11 additions and 4 deletions

View File

@ -0,0 +1,10 @@
# acpi_call makes tlp work for newer thinkpads
{ config, ... }:
{
boot = {
kernelModules = [ "acpi_call" ];
extraModulePackages = with config.boot.kernelPackages; [ acpi_call ];
};
}

View File

@ -4,14 +4,11 @@
imports = [
../.
../../../common/cpu/intel
../acpi_call.nix
];
boot = {
extraModulePackages = with config.boot.kernelPackages; [
acpi_call
];
kernelModules = [
"acpi_call"
"tpm-rng"
];
};