From f18a2ff855e5329cb027144bfd90c38a0b18d943 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Sun, 30 Jul 2023 06:41:13 +0300 Subject: [PATCH] deploy updates regularly --- hosts/vno1-oh2/configuration.nix | 2 +- modules/services/deployerbot/default.nix | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/hosts/vno1-oh2/configuration.nix b/hosts/vno1-oh2/configuration.nix index 5f2c25e..64003e4 100644 --- a/hosts/vno1-oh2/configuration.nix +++ b/hosts/vno1-oh2/configuration.nix @@ -51,7 +51,7 @@ "/home/.snapshot-latest/motiejus/annex2" "/home/.snapshot-latest/motiejus/.config/syncthing" ]; - backup_at = "*-*-* 00:05:00"; + backup_at = "*-*-* 00:05:00 UTC"; }; }; }; diff --git a/modules/services/deployerbot/default.nix b/modules/services/deployerbot/default.nix index 67571a9..f9e0919 100644 --- a/modules/services/deployerbot/default.nix +++ b/modules/services/deployerbot/default.nix @@ -68,11 +68,11 @@ ''; }; - #systemd.timers.deployerbot = { - # description = "deployerbot-main timer"; - # wantedBy = ["timers.target"]; - # timerConfig.OnCalendar = ""; - #}; + systemd.timers.deployerbot = { + description = "deployerbot-main timer"; + wantedBy = ["timers.target"]; + timerConfig.OnCalendar = "*-*-* 00:30:00 UTC"; + }; mj.base.unitstatus.units = ["deployerbot"];