# powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";

wermanagement module
main
Alexandre LUCAZEAU 2023-07-16 11:39:04 +02:00
parent 0606c9dd37
commit d7224bb1de
2 changed files with 11 additions and 1 deletions

View File

@ -13,6 +13,7 @@
./network.nix
modules/common.nix
modules/smtp.nix
modules/powermanagement.nix
];
@ -105,7 +106,7 @@
];
environment.variables.EDITOR = "nvim";
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
location = {
provider = "manual";
latitude = 47.77;

View File

@ -0,0 +1,9 @@
{ pkgs, config, lib, ... }: {
powerManagement = {
enable = true;
powertop.enable = true;
cpuFreqGovernor = "powersave";
};
}