diff --git a/nixos/common/services/tailscale.nix b/nixos/common/services/tailscale.nix index c7c20720..6941c752 100644 --- a/nixos/common/services/tailscale.nix +++ b/nixos/common/services/tailscale.nix @@ -10,4 +10,12 @@ ]; }; networking.firewall.interfaces.tailscale0.allowedTCPPorts = [ 22 ]; + + # Because of the split DNS< hosts forget which IP + # (external or internal) is promtail/loki. + # Setting them manually here helps. + networking.extraHosts = '' + 100.64.0.14 influx.sysctl.io + 100.64.0.14 loki.sysctl.io + ''; } \ No newline at end of file