Skip to content

Commit cdcb465

Browse files
nixos/auto-cpufreq: Add example for settings option (#490311)
2 parents 0a66569 + 48db711 commit cdcb465

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

nixos/modules/services/hardware/auto-cpufreq.nix

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,16 @@ in
2424
'';
2525

2626
default = { };
27+
example = {
28+
charger = {
29+
governor = "performance";
30+
turbo = "auto";
31+
};
32+
battery = {
33+
governor = "powersave";
34+
turbo = "never";
35+
};
36+
};
2737
type = lib.types.submodule { freeformType = format.type; };
2838
};
2939
};

0 commit comments

Comments
 (0)