cluster/services/warehouse: add dns records

This commit is contained in:
Max Headroom 2023-12-03 23:13:08 +01:00
parent 4aadf0c482
commit 38d22c1964

View file

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