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