1
0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-06-29 16:08:31 +02:00
nixos-hardware/lenovo/thinkpad/t440p/default.nix
surfaceflinger 759a06ec4a
lenovo/thinkpad/t440p: force load thinkpad_acpi
thinkpad_acpi doesn't load automatically on corebooted Lenovo ThinkPads T440p (but works fine if force_loaded). Doesn't affect users with stock firmware.
2023-01-20 21:37:32 +01:00

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" ];
};
}