cluster/services/forge: add dns records

This commit is contained in:
Max Headroom 2023-12-03 23:11:50 +01:00
parent 7d7714db4c
commit 4aadf0c482

View file

@ -1,6 +1,12 @@
{ config, depot, ... }:
{
services.forge = {
nodes.server = [ "VEGAS" ];
nixos.server = ./server.nix;
};
dns.records.forge.target = map
(node: depot.hours.${node}.interfaces.primary.addrPublic)
config.services.forge.nodes.server;
}