Add acpi_call module
This commit is contained in:
parent
cfee9e13a5
commit
cbdcc55f37
10
lenovo/thinkpad/acpi_call.nix
Normal file
10
lenovo/thinkpad/acpi_call.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -4,14 +4,11 @@
|
|||
imports = [
|
||||
../.
|
||||
../../../common/cpu/intel
|
||||
../acpi_call.nix
|
||||
];
|
||||
|
||||
boot = {
|
||||
extraModulePackages = with config.boot.kernelPackages; [
|
||||
acpi_call
|
||||
];
|
||||
kernelModules = [
|
||||
"acpi_call"
|
||||
"tpm-rng"
|
||||
];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue