dot_testing/modules/tlp.nix

22 lines
372 B
Nix

{ lib, config, pkgs, inputs, ...}:
{
services = {
tlp.enable = true;
thermald.enable = true;
auto-cpufreq = {
enable = true;
settings = {
battery = {
governor = "powersave";
turbo = "never";
};
charger = {
governor = "powersave";
turbo = "never";
};
};
};
};
}