thermald: Always enable adaptive mode.
There was some issues with the fallback to passive mode on 2.3, but on
2.4 adaptive mode is always enabled upstream and thermald will fallback
to passive if necessary.
https://github.com/intel/thermal_daemon/blob/a6e68a65b53a3d7a023c9b45db31ceffbd7e5dfb/data/thermald.service.in#L9
commit05bd810d5fe850186eb9efb94407d81429da89dd
authorBlaž Hrastnik <blaz@mxxn.io>
dateThu 3 Dec 2020, 11:02 (6 years ago)
parentf0e25ca
nixos/modules/services/hardware/thermald.nix+1−10
@@ -23,15 +23,6 @@ in {
2323 default = null;
2424 description = "the thermald manual configuration file.";
2525 };
26−
27− adaptive = mkOption {
28− type = types.bool;
29− default = false;
30− description = ''
31− Whether to enable adaptive mode, only working on kernel versions greater than 5.8.
32− Thermald will detect this itself, safe to enable on kernel versions below 5.8.
33− '';
34− };
3526 };
3627 };
3728
@@ -48,8 +39,8 @@ in {
4839 --no-daemon \
4940 ${optionalString cfg.debug "--loglevel=debug"} \
5041 ${optionalString (cfg.configFile != null) "--config-file ${cfg.configFile}"} \
51− ${optionalString cfg.adaptive "--adaptive"} \
5242 --dbus-enable
43+ --adaptive
5344 '';
5445 };
5546 };