fix(vpn): fix tailscale config

This commit is contained in:
Felix Schröter 2024-01-12 20:46:03 +01:00
parent e592a58e5a
commit dba8a2064b
Signed by: felschr
GPG key ID: 671E39E6744C807D

View file

@ -15,10 +15,14 @@ in {
extraUpFlags = [
"--reset"
"--accept-routes"
"--exit-node-allow-lan-access"
"--exit-node=de-ber-wg-004.mullvad.ts.net"
];
};
systemd.services.tailscaled.serviceConfig.Environment =
[ "TS_DEBUG_FIREWALL_MODE=auto" ];
# call taiscale up without --auth-key
systemd.services.tailscaled-autoconnect.script = ''
status=$(${config.systemd.package}/bin/systemctl show -P StatusText tailscaled.service)