use powersave mode on desktop to avoid overheating

This commit is contained in:
Leonardo Eugênio 2022-12-09 12:36:31 -03:00
parent 8140d0e79f
commit b1ab74fba7

View file

@ -67,6 +67,7 @@ in {
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
networking.useDHCP = lib.mkDefault true;
# networking.interfaces.enp4s0.useDHCP = lib.mkDefault true;
powerManagement.cpuFreqGovernor = "powersave";
hardware.cpu.amd.updateMicrocode =
lib.mkDefault config.hardware.enableRedistributableFirmware;
networking.hostName = "monolith"; # Define your hostname.