diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2024-06-10 13:20:06 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2024-06-11 00:20:30 +0200 |
commit | 4098541d0fb32431c6dfb38bb382123e1484b74d (patch) | |
tree | 40c9c1b423f1eb35f07413a82efed77cab7656ba /systems | |
parent | 49fee6918c32e5293622ad5217a27194af72365f (diff) | |
download | Nix-4098541d0fb32431c6dfb38bb382123e1484b74d.tar.gz Nix-4098541d0fb32431c6dfb38bb382123e1484b74d.tar.zst Nix-4098541d0fb32431c6dfb38bb382123e1484b74d.zip |
On-demand cpu frequency
Diffstat (limited to 'systems')
-rw-r--r-- | systems/dilion/base.nix | 2 | ||||
-rw-r--r-- | systems/eldiron/base.nix | 2 | ||||
-rw-r--r-- | systems/zoldene/base.nix | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/systems/dilion/base.nix b/systems/dilion/base.nix index 8c0b3ad..b47d928 100644 --- a/systems/dilion/base.nix +++ b/systems/dilion/base.nix | |||
@@ -21,7 +21,7 @@ | |||
21 | # available in nixos-20.09 | 21 | # available in nixos-20.09 |
22 | #zfs.requestEncryptionCredentials = [ "zpool/root" ]; | 22 | #zfs.requestEncryptionCredentials = [ "zpool/root" ]; |
23 | }; | 23 | }; |
24 | powerManagement.cpuFreqGovernor = "powersave"; | 24 | powerManagement.cpuFreqGovernor = "ondemand"; |
25 | hardware.enableRedistributableFirmware = true; | 25 | hardware.enableRedistributableFirmware = true; |
26 | 26 | ||
27 | swapDevices = [ { label = "swap"; } ]; | 27 | swapDevices = [ { label = "swap"; } ]; |
diff --git a/systems/eldiron/base.nix b/systems/eldiron/base.nix index 5308ddb..fa5e504 100644 --- a/systems/eldiron/base.nix +++ b/systems/eldiron/base.nix | |||
@@ -29,7 +29,7 @@ | |||
29 | ]; | 29 | ]; |
30 | 30 | ||
31 | nixpkgs.overlays = builtins.attrValues ports.overlays; | 31 | nixpkgs.overlays = builtins.attrValues ports.overlays; |
32 | powerManagement.cpuFreqGovernor = "powersave"; | 32 | powerManagement.cpuFreqGovernor = "ondemand"; |
33 | 33 | ||
34 | security.acme.certs."${name}".postRun = builtins.concatStringsSep "\n" [ | 34 | security.acme.certs."${name}".postRun = builtins.concatStringsSep "\n" [ |
35 | (lib.optionalString config.services.websites.env.production.enable "/run/current-system/sw/bin/machinectl shell httpd-production /usr/bin/env systemctl reload httpd.service") | 35 | (lib.optionalString config.services.websites.env.production.enable "/run/current-system/sw/bin/machinectl shell httpd-production /usr/bin/env systemctl reload httpd.service") |
diff --git a/systems/zoldene/base.nix b/systems/zoldene/base.nix index fc0d68a..617cd82 100644 --- a/systems/zoldene/base.nix +++ b/systems/zoldene/base.nix | |||
@@ -112,7 +112,7 @@ in | |||
112 | }; | 112 | }; |
113 | }; | 113 | }; |
114 | 114 | ||
115 | powerManagement.cpuFreqGovernor = lib.mkDefault "powersave"; | 115 | powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand"; |
116 | hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; | 116 | hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; |
117 | hardware.enableRedistributableFirmware = lib.mkDefault true; | 117 | hardware.enableRedistributableFirmware = lib.mkDefault true; |
118 | system.activationScripts.createDatasets = { | 118 | system.activationScripts.createDatasets = { |