Skip to content

Commit

Permalink
chore(hosts): update power-management services
Browse files Browse the repository at this point in the history
  • Loading branch information
raexera committed Nov 26, 2024
1 parent c2745d5 commit c23f84a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions hosts/yuki/power-management.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,14 @@
extraModulePackages = with config.boot.kernelPackages; [acpi_call];
};

powerManagement = {
enable = true;
powertop.enable = true;
};

services = {
# Enable acpid service to handle ACPI events like button presses or power events
acpid.enable = true;

# Enable auto-cpufreq, an automated CPU frequency scaling tool
auto-cpufreq = {
enable = true;
settings = {
Expand All @@ -25,13 +28,10 @@
};
};

# Enable thermald service to automatically manage CPU temperature
thermald.enable = true;

# Enable throttled service to help mitigate Intel CPU throttling issues
throttled.enable = true;

# Enable upower for battery and power event handling
upower.enable = true;
};
}

0 comments on commit c23f84a

Please sign in to comment.