hosts/{ao,shiro}: tweak cpu governors
This commit is contained in:
parent
1455114778
commit
a7e7b1703a
|
@ -11,6 +11,7 @@
|
|||
|
||||
## CPU
|
||||
nix.maxJobs = lib.mkDefault 2;
|
||||
powerManagement.cpuFreqGovernor = "ondemand";
|
||||
|
||||
## Harddrives
|
||||
fileSystems = {
|
||||
|
|
|
@ -23,8 +23,10 @@
|
|||
|
||||
# CPU
|
||||
nix.maxJobs = lib.mkDefault 8;
|
||||
powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand";
|
||||
hardware.cpu.intel.updateMicrocode = true;
|
||||
# performance gives better battery life/perf than ondemand on sandy bridge and
|
||||
# newer because of intel pstates.
|
||||
powerManagement.cpuFreqGovernor = "performance";
|
||||
|
||||
# Power management
|
||||
environment.systemPackages = [ pkgs.acpi ];
|
||||
|
|
Loading…
Reference in a new issue