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