From f5b59ef0cb8124cadf203eb26e1498847366abad Mon Sep 17 00:00:00 2001 From: nyanloutre Date: Sun, 20 Oct 2024 11:17:23 +0200 Subject: [PATCH] fix systemd network dependency --- flake.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 5f3b404..8cc27d1 100644 --- a/flake.nix +++ b/flake.nix @@ -32,7 +32,7 @@ config = lib.mkIf cfg.enable { systemd.services.dogetipbot-telegram = { - after = [ "network.target" ]; + after = [ "network-online.target" ]; wantedBy = [ "multi-user.target" ]; script = "${app}/bin/dogetipbot-telegram --db-path $STATE_DIRECTORY/users.db"; enable = true;