From 62dd56d23b506a5512f11c8a3ed357cd2293ace0 Mon Sep 17 00:00:00 2001 From: "RingOfStorms (Joshua Bell)" Date: Fri, 23 May 2025 07:11:47 -0500 Subject: [PATCH] add both for routing feature when using exit node --- common/programs/tailnet.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/programs/tailnet.nix b/common/programs/tailnet.nix index 98944ab..df25e37 100644 --- a/common/programs/tailnet.nix +++ b/common/programs/tailnet.nix @@ -35,7 +35,7 @@ in services.tailscale = { enable = true; openFirewall = true; - useRoutingFeatures = "client"; + useRoutingFeatures = if cfg.enableExitNode then "both" else "client"; authKeyFile = lib.mkIf ( config ? age && config.age ? secrets && config.age.secrets ? headscale_auth ) config.age.secrets.headscale_auth.path;