From 4a529708212daf43ebf7af62a14fa955f1565c09 Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Mon, 22 Jul 2024 11:20:02 +0200 Subject: [PATCH] Add 10 min shutdown jitter to avoid spikes The shutdown timer will fire at slightly different times for the different nodes, so we slowly decrease the power consumption. --- m/common/base/august-shutdown.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/m/common/base/august-shutdown.nix b/m/common/base/august-shutdown.nix index 5eaa803..624340c 100644 --- a/m/common/base/august-shutdown.nix +++ b/m/common/base/august-shutdown.nix @@ -7,6 +7,7 @@ wantedBy = [ "timers.target" ]; timerConfig = { OnCalendar = "*-08-02 11:00:00"; + RandomizedDelaySec = "10min"; Unit = "systemd-poweroff.service"; }; };