From 5c7672e67f25a293f8b6ad596978ba5161d8150c Mon Sep 17 00:00:00 2001 From: geemili Date: Tue, 9 Jan 2024 15:24:53 -0700 Subject: [PATCH] fix: `caddy.service.service` -> `caddy.service` --- configuration.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configuration.nix b/configuration.nix index c497f3d..7370264 100644 --- a/configuration.nix +++ b/configuration.nix @@ -487,7 +487,8 @@ reverse_proxy localhost:8989 ''; }; - systemd.services."caddy.service" = { + # patch the caddy service to wait for the tailscale interface before starting + systemd.services."caddy" = { requires = [ "tailscaled.service" ]; after = [ "sys-subsystem-net-devices-tailscale0.device" "tailscaled.service" ]; };