mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-03 16:57:14 +08:00
Add acpi_call module
This commit is contained in:
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"
|
||||
];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user