added autocpufreq to surface config

This commit is contained in:
twoneis 2023-11-13 21:10:29 +01:00
parent 4f71edaaf8
commit c4e55845a7
2 changed files with 15 additions and 1 deletions

View file

@ -5,6 +5,20 @@
networking.hostName = "surface";
services.auto-cpufreq = {
enable = true;
settings = {
battery = {
governor = "powersaver";
turbo = "never";
};
charger = {
governor = "performance";
turbo = "auto";
};
};
};
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken. Its perfectly fine and recommended to leave