add powersave to x230t

This commit is contained in:
stupidcomputer 2024-06-25 20:13:53 -05:00
parent 1210e716f3
commit ec0f618a60
2 changed files with 17 additions and 2 deletions

View File

@ -59,7 +59,6 @@
hardware.pulseaudio.enable = true; hardware.pulseaudio.enable = true;
networking.hostName = "x230t"; networking.hostName = "x230t";
system.stateVersion = "23.11"; system.stateVersion = "23.11";

View File

@ -1,5 +1,21 @@
{ lib, config, pkgs, inputs, ...}: { lib, config, pkgs, inputs, ...}:
{ {
services.tlp.enable = true; services = {
tlp.enable = true;
thermald.enable = true;
auto-cpufreq = {
enable = true;
settings = {
battery = {
governor = "powersave";
turbo = "never";
};
charger = {
governor = "powersave";
turbo = "never";
};
};
};
};
} }