From 667e318212920005917792b06e0f480b421fa6d3 Mon Sep 17 00:00:00 2001 From: nyanloutre Date: Mon, 28 Oct 2024 21:47:30 +0100 Subject: [PATCH] fix network dependency --- flake.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/flake.nix b/flake.nix index 8cc27d1..4dd91a2 100644 --- a/flake.nix +++ b/flake.nix @@ -33,6 +33,7 @@ config = lib.mkIf cfg.enable { systemd.services.dogetipbot-telegram = { after = [ "network-online.target" ]; + wants = [ "network-online.target" ]; wantedBy = [ "multi-user.target" ]; script = "${app}/bin/dogetipbot-telegram --db-path $STATE_DIRECTORY/users.db"; enable = true;