fix exit node option
This commit is contained in:
parent
d2ca2e1181
commit
8f6926b2ff
1 changed files with 2 additions and 2 deletions
|
@ -41,10 +41,10 @@ in
|
||||||
) config.age.secrets.headscale_auth.path;
|
) config.age.secrets.headscale_auth.path;
|
||||||
# https://tailscale.com/kb/1241/tailscale-up
|
# https://tailscale.com/kb/1241/tailscale-up
|
||||||
extraUpFlags =
|
extraUpFlags =
|
||||||
lib.mkIf cfg.useHeadscale [
|
(lib.optionals cfg.useHeadscale [
|
||||||
"--login-server=https://headscale.joshuabell.xyz"
|
"--login-server=https://headscale.joshuabell.xyz"
|
||||||
"--no-logs-support"
|
"--no-logs-support"
|
||||||
]
|
])
|
||||||
++ (lib.optionals cfg.enableExitNode [ "--advertise-exit-node" ]);
|
++ (lib.optionals cfg.enableExitNode [ "--advertise-exit-node" ]);
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue