diff options
author | Blaž Hrastnik <blaz@mxxn.io> | 2020-12-03 11:02:51 +0900 |
---|---|---|
committer | Blaž Hrastnik <blaz@mxxn.io> | 2020-12-03 12:45:58 +0900 |
commit | 05bd810d5fe850186eb9efb94407d81429da89dd (patch) | |
tree | 0038bfb1878816b735364beb3617a85319bf6bf3 /nixos/modules | |
parent | f0e25ca1580d81208f4f509d0e52315481706865 (diff) |
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
Diffstat (limited to 'nixos/modules')
-rw-r--r-- | nixos/modules/services/hardware/thermald.nix | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/nixos/modules/services/hardware/thermald.nix b/nixos/modules/services/hardware/thermald.nix index b7be0e89d0c6..241490c5aae7 100644 --- a/nixos/modules/services/hardware/thermald.nix +++ b/nixos/modules/services/hardware/thermald.nix @@ -23,15 +23,6 @@ in { default = null; description = "the thermald manual configuration file."; }; - - adaptive = mkOption { - type = types.bool; - default = false; - description = '' - Whether to enable adaptive mode, only working on kernel versions greater than 5.8. - Thermald will detect this itself, safe to enable on kernel versions below 5.8. - ''; - }; }; }; @@ -48,8 +39,8 @@ in { --no-daemon \ ${optionalString cfg.debug "--loglevel=debug"} \ ${optionalString (cfg.configFile != null) "--config-file ${cfg.configFile}"} \ - ${optionalString cfg.adaptive "--adaptive"} \ --dbus-enable + --adaptive ''; }; }; |