From 4098541d0fb32431c6dfb38bb382123e1484b74d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Mon, 10 Jun 2024 13:20:06 +0200 Subject: On-demand cpu frequency --- systems/dilion/base.nix | 2 +- systems/eldiron/base.nix | 2 +- systems/zoldene/base.nix | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'systems') 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 @@ # available in nixos-20.09 #zfs.requestEncryptionCredentials = [ "zpool/root" ]; }; - powerManagement.cpuFreqGovernor = "powersave"; + powerManagement.cpuFreqGovernor = "ondemand"; hardware.enableRedistributableFirmware = true; 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 @@ ]; nixpkgs.overlays = builtins.attrValues ports.overlays; - powerManagement.cpuFreqGovernor = "powersave"; + powerManagement.cpuFreqGovernor = "ondemand"; security.acme.certs."${name}".postRun = builtins.concatStringsSep "\n" [ (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 }; }; - powerManagement.cpuFreqGovernor = lib.mkDefault "powersave"; + powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand"; hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; hardware.enableRedistributableFirmware = lib.mkDefault true; system.activationScripts.createDatasets = { -- cgit v1.2.3