Prevent TLP from overheating laptop while charging
This commit is contained in:
parent
338a26c942
commit
03e1bc1c75
|
@ -11,4 +11,8 @@ lib.mkIf (config.platform == "laptop") {
|
||||||
# Power and temperature management tools
|
# Power and temperature management tools
|
||||||
services.thermald.enable = true;
|
services.thermald.enable = true;
|
||||||
services.tlp.enable = true;
|
services.tlp.enable = true;
|
||||||
|
services.tlp.settings = {
|
||||||
|
TLP_DEFAULT_MODE = "BAT";
|
||||||
|
TLP_PERSISTENT_DEFAULT = 1;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue