nixos/auto-cpufreq: Add example
Add an example for services.auto-cpufreq.settings, to make it easier to understand how its used.
This commit is contained in:
@@ -24,6 +24,16 @@ in
|
||||
'';
|
||||
|
||||
default = { };
|
||||
example = {
|
||||
charger = {
|
||||
governor = "performance";
|
||||
turbo = "auto";
|
||||
};
|
||||
battery = {
|
||||
governor = "powersave";
|
||||
turbo = "never";
|
||||
};
|
||||
};
|
||||
type = lib.types.submodule { freeformType = format.type; };
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user