added autocpufreq to surface config
This commit is contained in:
parent
4f71edaaf8
commit
c4e55845a7
2 changed files with 15 additions and 1 deletions
|
@ -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. It‘s perfectly fine and recommended to leave
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue