set cpu governor to ondemand

This commit is contained in:
Leonardo Eugênio 2022-12-09 22:42:52 -03:00
parent b5029ba672
commit e971ef3cf3

View file

@ -67,7 +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";
powerManagement.cpuFreqGovernor = "ondemand";
hardware.cpu.amd.updateMicrocode =
lib.mkDefault config.hardware.enableRedistributableFirmware;
networking.hostName = "monolith"; # Define your hostname.