From c1cdf106166b8c0f5d73a6aa22e4674ab0f1b7d2 Mon Sep 17 00:00:00 2001 From: David Wagner Date: Mon, 8 Jul 2024 16:56:44 +0200 Subject: [PATCH] humidity timer: add network-online as a depencency Reference https://systemd.io/NETWORK_ONLINE/ --- modules/push-notifications.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/push-notifications.nix b/modules/push-notifications.nix index 7c84ed3..4d354fb 100644 --- a/modules/push-notifications.nix +++ b/modules/push-notifications.nix @@ -34,6 +34,7 @@ systemd.timers."send-room-humidity" = { wantedBy = [ "timers.target" ]; + wants = [ "network-online.target" ]; after = [ "network-online.target" ]; timerConfig = { OnCalendar = [ "*-*-* 8:00" "*-*-* 22:00" ];