feat: add option for services.tlp.settings with defaults
This commit is contained in:
parent
ad7f6bf039
commit
2c09c21833
3 changed files with 48 additions and 6 deletions
|
|
@ -5,12 +5,7 @@
|
|||
|
||||
services.tlp = {
|
||||
enable = !builtins.elem "gnome" gui.flavour;
|
||||
settings = {
|
||||
CPU_ENERGY_PERF_POLICY_ON_AC = "performance";
|
||||
CPU_ENERGY_PERF_POLICY_ON_BAT = "balance_power";
|
||||
PLATFORM_PROFILE_ON_AC = "performance";
|
||||
PLATFORM_PROFILE_ON_BAT = "balanced";
|
||||
};
|
||||
settings = power.tlp.settings;
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue