diff --git a/morph/lib/base.nix b/morph/lib/base.nix index 0ab7733324d991917c787f2404f4c24df3927e94..8805664216ce0a7c5e6a355a159ae3fe100c2942 100644 --- a/morph/lib/base.nix +++ b/morph/lib/base.nix @@ -57,6 +57,11 @@ # qualified domain name. deployment.targetHost = config.networking.fqdn; + networking.hosts = { + # To stream logs to the monitoring host, all nodes need to know its address + "172.23.23.1" = [ "monitoring" "monitoring.monitoringvpn" ]; + }; + assertions = [ # This is a check to save somebody in the future trying to debug why # setting `nixpkgs.config` is not having an effect.