diff --git a/configuration.nix b/configuration.nix index 1d575a8..2fe807f 100644 --- a/configuration.nix +++ b/configuration.nix @@ -487,6 +487,10 @@ reverse_proxy localhost:8989 ''; }; + systemd.services."caddy.service" = { + Requires = [ "tailscaled.service" ]; + After = [ "sys-subsystem-net-devices-tailscale0.device" "tailscaled.service" ]; + } # Headscale for access to the network while away from home services.headscale = {