add auto-cpufreq

This commit is contained in:
2024-03-14 10:59:38 +05:30
parent 127b85628f
commit 96c904e189

View File

@ -176,6 +176,26 @@
libinput.touchpad.naturalScrolling = true; libinput.touchpad.naturalScrolling = true;
}; };
# To use Auto-cpufreq we need to
# disable TLP because it's enabled by nixos-hardware
tlp.enable = false;
auto-cpufreq = {
enable = true;
settings = {
battery = {
governor = "powersave";
turbo = "never";
scaling_min_freq = 400000;
scaling_max_freq = 2800000;
};
charger = {
governor = "powersave";
turbo = "never";
scaling_max_freq = 3300000;
};
};
};
blueman.enable = true; blueman.enable = true;
supergfxd = { supergfxd = {