1
0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-06-02 19:13:33 +02:00

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 = [ imports = [
../. ../.
../../../common/cpu/intel ../../../common/cpu/intel
../acpi_call.nix
]; ];
boot = { boot = {
extraModulePackages = with config.boot.kernelPackages; [
acpi_call
];
kernelModules = [ kernelModules = [
"acpi_call"
"tpm-rng" "tpm-rng"
]; ];
}; };