enable polkit
This commit is contained in:
parent
1c0cf5f1e7
commit
d5bd42c7b2
3 changed files with 3 additions and 14 deletions
14
flake.nix
14
flake.nix
|
|
@ -65,19 +65,7 @@
|
|||
networking.hostName = lib.mkForce "seele";
|
||||
powerManagement.powertop.enable = true;
|
||||
services.upower.enable = true;
|
||||
services.tlp = {
|
||||
enable = true;
|
||||
settings = {
|
||||
CPU_SCALING_GOVERNOR_ON_AC = "performance";
|
||||
CPU_SCALING_GOVERNOR_ON_BAT = "balanced";
|
||||
CPU_ENERGY_PERF_POLICY_ON_BAT = "balanced";
|
||||
CPU_ENERGY_PERF_POLICY_ON_AC = "performance";
|
||||
CPU_MIN_PERF_ON_AC = 0;
|
||||
CPU_MAX_PERF_ON_AC = 100;
|
||||
CPU_MIN_PERF_ON_BAT = 0;
|
||||
CPU_MAX_PERF_ON_BAT = 50;
|
||||
};
|
||||
};
|
||||
services.auto-cpufreq.enable = true;
|
||||
})
|
||||
|
||||
];
|
||||
|
|
|
|||
Loading…
Reference in a new issue