nix-config/roles/nixos/power-saving.nix

11 lines
163 B
Nix
Raw Normal View History

2024-06-03 23:38:50 +02:00
{
config,
pkgs,
lib,
...
}: {
powerManagement.powertop.enable = true;
powerManagement.enable = true;
powerManagement.cpuFreqGovernor = "ondemand";
2024-06-03 23:38:50 +02:00
}