From 23779c1331bfa1c60d2b8a85f8095efd7fc75348 Mon Sep 17 00:00:00 2001 From: Adithya Nair Date: Sun, 14 Jul 2024 18:16:40 +0530 Subject: [PATCH] rico0: start blocky after network is ready --- hosts/rico0/services/apps/blocky.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/hosts/rico0/services/apps/blocky.nix b/hosts/rico0/services/apps/blocky.nix index bce4dec..bd36593 100644 --- a/hosts/rico0/services/apps/blocky.nix +++ b/hosts/rico0/services/apps/blocky.nix @@ -9,14 +9,13 @@ _: { ]; }; }; - systemd.services.blocky.unitConfig.Requires = "wireguard-wg0.service"; - systemd.services.blocky.unitConfig.After = [ "wireguard-wg0.service" ]; + systemd.services.blocky.unitConfig.After = [ "network-online.target" "wireguard-wg0.service" ]; services.blocky = { enable = true; settings = { bootstrapDns = [ "tcp+udp:1.1.1.1" ]; upstreams = { - init.strategy = "failOnError"; + init.strategy = "blocking"; groups = { default = [ # Google