Reset tailscale settings on up

This commit is contained in:
SebastianStork 2024-08-16 12:34:18 +02:00
parent 1aa9efacd2
commit b8cc3bb342

View file

@ -18,6 +18,7 @@ in
openFirewall = true; openFirewall = true;
useRoutingFeatures = if cfg.exitNode.enable then "server" else "client"; useRoutingFeatures = if cfg.exitNode.enable then "server" else "client";
extraUpFlags = [ extraUpFlags = [
"--reset=true"
(lib.mkIf cfg.ssh.enable "--ssh") (lib.mkIf cfg.ssh.enable "--ssh")
(lib.mkIf cfg.exitNode.enable "--advertise-exit-node") (lib.mkIf cfg.exitNode.enable "--advertise-exit-node")
]; ];