fix tailscale in blocky container

This commit is contained in:
Dmitriy Kholkin 2024-01-21 20:36:34 +03:00
parent d35784810a
commit cc30799265
Signed by: AtaraxiaDev
GPG Key ID: FD266B810DF48DF2

View File

@ -41,13 +41,20 @@ in {
allowedTCPPorts = [ blockyPort grafanaPort ];
allowedUDPPorts = [ blockyPort ];
};
hosts = {
"192.168.0.10" = [ "wg.ataraxiadev.com" ];
};
};
# ephemeral tailscale node
services.tailscale = {
enable = true;
useRoutingFeatures = "client";
authKeyFile = "/tmp/blocky-authkey";
extraUpFlags = [ "--login-server=https://wg.ataraxiadev.com" "--accept-dns=false" ];
extraUpFlags = [
"--login-server=https://wg.ataraxiadev.com"
"--accept-dns=false"
"--advertise-exit-node=false"
];
};
systemd.services.tailscaled.serviceConfig.Environment = let
cfg = config.services.tailscale;