tailscale: Set routing features to allow exit node

This commit is contained in:
Erwin Boskma 2024-02-05 11:13:22 +01:00
parent ee5ec2d72d
commit 7598353413
Signed by: erwin
SSH key fingerprint: SHA256:/Wk1WZdLg+vQHs3in9qq7PsIp8SMzwGSk/RLZ5zPuZk

View file

@ -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"; };
};
}