thermald: fixed handling of an external config

This commit is contained in:
Ilya Epifanov 2024-05-03 12:34:55 +02:00
parent ab8a2a8b30
commit 2099ff760f

View File

@ -50,8 +50,8 @@ in
${optionalString cfg.debug "--loglevel=debug"} \
${optionalString cfg.ignoreCpuidCheck "--ignore-cpuid-check"} \
${optionalString (cfg.configFile != null) "--config-file ${cfg.configFile}"} \
--dbus-enable \
--adaptive
${optionalString (cfg.configFile == null) "--adaptive"} \
--dbus-enable
'';
};
};