2023-12-04 00:13:08 +02:00
|
|
|
{ config, depot, ... }:
|
|
|
|
|
2023-08-29 00:30:00 +03:00
|
|
|
{
|
|
|
|
services.warehouse = {
|
|
|
|
nodes.host = [ "VEGAS" ];
|
|
|
|
nixos.host = [ ./host.nix ];
|
|
|
|
};
|
2023-12-04 00:13:08 +02:00
|
|
|
|
|
|
|
dns.records.warehouse.target = map
|
|
|
|
(node: depot.hours.${node}.interfaces.primary.addrPublic)
|
|
|
|
config.services.warehouse.nodes.host;
|
2023-08-29 00:30:00 +03:00
|
|
|
}
|