power settings for server

This commit is contained in:
2026-08-04 11:26:31 +03:00
parent 868fa7cdd7
commit c9b15dea59
3 changed files with 23 additions and 3 deletions
+22
View File
@@ -0,0 +1,22 @@
{
config,
lib,
pkgs,
...
}:
{
services = {
tuned = {
enable = true;
};
auto-cpufreq.enable = false;
power-profiles-daemon.enable = lib.mkForce false;
throttled.enable = false;
};
environment = {
systemPackages = with pkgs; [
cpupower-gui
];
};
}