add both for routing feature when using exit node
This commit is contained in:
parent
2d3204290a
commit
62dd56d23b
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue