From 75983534138d3063a9078baca5950bb089b065a5 Mon Sep 17 00:00:00 2001 From: Erwin Boskma Date: Mon, 5 Feb 2024 11:13:22 +0100 Subject: [PATCH] tailscale: Set routing features to allow exit node --- modules/tailscale/default.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/modules/tailscale/default.nix b/modules/tailscale/default.nix index 240f5b0..6ad4268 100644 --- a/modules/tailscale/default.nix +++ b/modules/tailscale/default.nix @@ -12,10 +12,9 @@ in config = mkIf cfg.enable { services.tailscale = { enable = true; + useRoutingFeatures = "both"; }; - systemd.services.tailscaled.environment = mkIf cfg.nftables { - TS_DEBUG_FIREWALL_MODE = "auto"; - }; + systemd.services.tailscaled.environment = mkIf cfg.nftables { TS_DEBUG_FIREWALL_MODE = "auto"; }; }; }