added powersaving role.
This commit is contained in:
parent
3cddd823c1
commit
4127c28ed6
10
roles/nixos/power-saving.nix
Normal file
10
roles/nixos/power-saving.nix
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
powerManagement.powertop.enable = true;
|
||||
powerManagement.enable = true;
|
||||
powerManaagement.cpuFreqGovernor = "ondemand";
|
||||
}
|
Loading…
Reference in a new issue