nixos-hardware/lenovo/thinkpad/t440p/default.nix

18 lines
348 B
Nix
Raw Normal View History

2022-12-31 05:52:38 -05:00
{ lib, ... }:
2016-02-08 07:12:20 -05:00
{
imports = [
../.
../../../common/cpu/intel
];
2016-02-08 07:12:20 -05:00
boot = {
extraModprobeConfig = lib.mkDefault ''
2016-02-08 07:12:20 -05:00
options bbswitch use_acpi_to_detect_card_state=1
options thinkpad_acpi force_load=1 fan_control=1
2016-02-08 07:12:20 -05:00
'';
# TODO: probably enable tcsd? Is this line necessary?
kernelModules = [ "tpm-rng" ];
2016-02-08 07:12:20 -05:00
};
}