diff --git a/nixos/machines/crash/configuration.nix b/nixos/machines/crash/configuration.nix index 22e7c76..5aa548d 100644 --- a/nixos/machines/crash/configuration.nix +++ b/nixos/machines/crash/configuration.nix @@ -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;