aboutsummaryrefslogtreecommitdiff
path: root/systems/eldiron
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2024-06-10 13:20:06 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2024-06-11 00:20:30 +0200
commit4098541d0fb32431c6dfb38bb382123e1484b74d (patch)
tree40c9c1b423f1eb35f07413a82efed77cab7656ba /systems/eldiron
parent49fee6918c32e5293622ad5217a27194af72365f (diff)
downloadNix-4098541d0fb32431c6dfb38bb382123e1484b74d.tar.gz
Nix-4098541d0fb32431c6dfb38bb382123e1484b74d.tar.zst
Nix-4098541d0fb32431c6dfb38bb382123e1484b74d.zip
On-demand cpu frequency
Diffstat (limited to 'systems/eldiron')
-rw-r--r--systems/eldiron/base.nix2
1 files changed, 1 insertions, 1 deletions
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")