hosts/{ao,shiro}: tweak cpu governors
This commit is contained in:
parent
1455114778
commit
a7e7b1703a
|
@ -11,6 +11,7 @@
|
||||||
|
|
||||||
## CPU
|
## CPU
|
||||||
nix.maxJobs = lib.mkDefault 2;
|
nix.maxJobs = lib.mkDefault 2;
|
||||||
|
powerManagement.cpuFreqGovernor = "ondemand";
|
||||||
|
|
||||||
## Harddrives
|
## Harddrives
|
||||||
fileSystems = {
|
fileSystems = {
|
||||||
|
|
|
@ -23,8 +23,10 @@
|
||||||
|
|
||||||
# CPU
|
# CPU
|
||||||
nix.maxJobs = lib.mkDefault 8;
|
nix.maxJobs = lib.mkDefault 8;
|
||||||
powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand";
|
|
||||||
hardware.cpu.intel.updateMicrocode = true;
|
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
|
# Power management
|
||||||
environment.systemPackages = [ pkgs.acpi ];
|
environment.systemPackages = [ pkgs.acpi ];
|
||||||
|
|
Loading…
Reference in a new issue