add extraSetFlags to tailscale config

This commit is contained in:
2025-11-04 23:15:39 -06:00
parent cb4234630b
commit f49978d587

View File

@@ -17,10 +17,12 @@ in {
openFirewall = true; openFirewall = true;
useRoutingFeatures = "both"; useRoutingFeatures = "both";
authKeyFile = authkey_file; authKeyFile = authkey_file;
extraSetFlags = [
"--advertise-routes=10.10.0.10/32" # advertise self
];
extraUpFlags = [ extraUpFlags = [
"--accept-routes=false" # true is equilivant to useRoutingFeatures = "client" (breaks shit) "--accept-routes=false" # true is equilivant to useRoutingFeatures = "client" (breaks shit)
"--accept-dns=true" # explicitly allow resolved "--accept-dns=true" # explicitly allow resolved
"--advertise-routes=10.10.0.10/32" # advertise self
]; ];
}; };