759a06ec4a
thinkpad_acpi doesn't load automatically on corebooted Lenovo ThinkPads T440p (but works fine if force_loaded). Doesn't affect users with stock firmware.
18 lines
348 B
Nix
18 lines
348 B
Nix
{ lib, ... }:
|
|
|
|
{
|
|
imports = [
|
|
../.
|
|
../../../common/cpu/intel
|
|
];
|
|
|
|
boot = {
|
|
extraModprobeConfig = lib.mkDefault ''
|
|
options bbswitch use_acpi_to_detect_card_state=1
|
|
options thinkpad_acpi force_load=1 fan_control=1
|
|
'';
|
|
# TODO: probably enable tcsd? Is this line necessary?
|
|
kernelModules = [ "tpm-rng" ];
|
|
};
|
|
}
|