mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
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.
a6e68a65b5/data/thermald.service.in (L9)
This commit is contained in:
parent
f0e25ca158
commit
05bd810d5f
1 changed files with 1 additions and 10 deletions
|
@ -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
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue