2022-12-31 10:52:38 +00:00
|
|
|
{ lib, ... }:
|
2016-02-08 12:12:20 +00:00
|
|
|
|
|
|
|
{
|
2017-12-24 23:21:05 +00:00
|
|
|
imports = [
|
|
|
|
../.
|
|
|
|
../../../common/cpu/intel
|
|
|
|
];
|
2017-12-24 01:13:08 +00:00
|
|
|
|
2016-02-08 12:12:20 +00:00
|
|
|
boot = {
|
2023-01-24 08:54:28 +00:00
|
|
|
extraModprobeConfig = ''
|
2016-02-08 12:12:20 +00:00
|
|
|
options bbswitch use_acpi_to_detect_card_state=1
|
2023-01-20 20:35:06 +00:00
|
|
|
options thinkpad_acpi force_load=1 fan_control=1
|
2016-02-08 12:12:20 +00:00
|
|
|
'';
|
2017-12-25 21:26:29 +00:00
|
|
|
# TODO: probably enable tcsd? Is this line necessary?
|
2017-09-06 08:01:01 +00:00
|
|
|
kernelModules = [ "tpm-rng" ];
|
2016-02-08 12:12:20 +00:00
|
|
|
};
|
|
|
|
}
|