mio-ops/profiles/powerManagement.nix

19 lines
364 B
Nix
Raw Normal View History

# Power management configuration for the laptops
{ config, pkgs, lib, ... }:
{
powerManagement = {
enable = true;
cpuFreqGovernor = lib.mkDefault "performance";
powertop.enable = true; # Enable powertop auto tuning on startup
};
services = {
upower = {
enable = true; # Enable application power managemetn support
};
};
}