depot/cluster/services/warehouse/default.nix

13 lines
264 B
Nix
Raw Permalink Normal View History

{ 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;
}