remove no logs arg on tailscale up
This commit is contained in:
parent
95ecff0f1c
commit
e924f78b06
1 changed files with 5 additions and 8 deletions
|
@ -36,16 +36,13 @@ in
|
||||||
enable = true;
|
enable = true;
|
||||||
openFirewall = true;
|
openFirewall = true;
|
||||||
useRoutingFeatures = "client";
|
useRoutingFeatures = "client";
|
||||||
authKeyFile = lib.mkIf (
|
# authKeyFile = lib.mkIf (
|
||||||
config ? age && config.age ? secrets && config.age.secrets ? headscale_auth
|
# config ? age && config.age ? secrets && config.age.secrets ? headscale_auth
|
||||||
) 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.optionals cfg.useHeadscale [
|
||||||
"--no-logs-support"
|
"--login-server=\"https://headscale.joshuabell.xyz\""
|
||||||
]
|
|
||||||
++ (lib.optionals cfg.useHeadscale [
|
|
||||||
"--login-server=https://headscale.joshuabell.xyz"
|
|
||||||
])
|
])
|
||||||
++ (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