mio-ops/profiles/powerManagement.nix
Serĉanto de Scio 50ed5245a3
nix: added upower
Placed paower management into a single file
2021-05-09 16:34:31 +10:00

19 lines
364 B
Nix

# 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
};
};
}