cluster/services/warehouse: add dns records
This commit is contained in:
parent
4aadf0c482
commit
38d22c1964
1 changed files with 6 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue