mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 19:51:34 +01:00
Add ability to modify Tailscale configurations without tailnet reconnection
This commit is contained in:
parent
187704b151
commit
0197336534
1 changed files with 4 additions and 4 deletions
|
|
@ -17,10 +17,10 @@ in
|
|||
authKeyFile = config.sops.secrets.tailscale-auth-key.path;
|
||||
openFirewall = true;
|
||||
useRoutingFeatures = if cfg.exitNode.enable then "server" else "client";
|
||||
extraUpFlags = [
|
||||
"--reset=true"
|
||||
(lib.mkIf cfg.ssh.enable "--ssh")
|
||||
(lib.mkIf cfg.exitNode.enable "--advertise-exit-node")
|
||||
extraUpFlags = [ "--reset=true" ];
|
||||
extraSetFlags = [
|
||||
"--ssh=${lib.boolToString cfg.ssh.enable}"
|
||||
"--advertise-exit-node=${lib.boolToString cfg.exitNode.enable}"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue