From c1cb4ca43355c38cc9419c76075e14d6c356a274 Mon Sep 17 00:00:00 2001 From: Adithya Nair Date: Sun, 7 Jul 2024 00:41:23 +0530 Subject: [PATCH] rico0: block requires wireguard --- hosts/rico0/services/apps/blocky.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hosts/rico0/services/apps/blocky.nix b/hosts/rico0/services/apps/blocky.nix index e51a7df..bce4dec 100644 --- a/hosts/rico0/services/apps/blocky.nix +++ b/hosts/rico0/services/apps/blocky.nix @@ -9,6 +9,8 @@ _: { ]; }; }; + systemd.services.blocky.unitConfig.Requires = "wireguard-wg0.service"; + systemd.services.blocky.unitConfig.After = [ "wireguard-wg0.service" ]; services.blocky = { enable = true; settings = {