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 ]; allowedTCPPorts = [ blockyPort grafanaPort ];
allowedUDPPorts = [ blockyPort ]; allowedUDPPorts = [ blockyPort ];
}; };
hosts = {
"192.168.0.10" = [ "wg.ataraxiadev.com" ];
};
}; };
# ephemeral tailscale node # ephemeral tailscale node
services.tailscale = { services.tailscale = {
enable = true; enable = true;
useRoutingFeatures = "client"; useRoutingFeatures = "client";
authKeyFile = "/tmp/blocky-authkey"; 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 systemd.services.tailscaled.serviceConfig.Environment = let
cfg = config.services.tailscale; cfg = config.services.tailscale;