Prevent TLP from overheating laptop while charging

This commit is contained in:
Kiana Sheibani 2023-09-21 23:50:07 -04:00
parent 338a26c942
commit 03e1bc1c75

View file

@ -11,4 +11,8 @@ lib.mkIf (config.platform == "laptop") {
# Power and temperature management tools
services.thermald.enable = true;
services.tlp.enable = true;
services.tlp.settings = {
TLP_DEFAULT_MODE = "BAT";
TLP_PERSISTENT_DEFAULT = 1;
};
}