More power stuff

This commit is contained in:
Nathan McCarty 2025-01-13 21:11:31 -05:00
parent d1a386edf5
commit 443cf97123

View file

@ -175,6 +175,21 @@
enable = true;
};
# Other power saving goodies
hardware.enableAllFirmware = true;
services.tlp = {
enable = true;
settings = {
CPU_SCALING_GOVERNOR_ON_AC = "performance";
CPU_SCALING_GOVERNOR_ON_BAT = "powersave";
CPU_ENERGY_PERF_POLICY_ON_BAT = "power";
CPU_ENERGY_PERF_POLICY_ON_AC = "performance";
};
};
powerManagement.enable = true;
services.power-profiles-daemon.enable = false;
# Nvidia gpu setup
hardware.nvidia = {
open = true;