Add Nexus domain

This commit is contained in:
2023-03-01 10:13:31 -08:00
parent a9ab640e08
commit 15b5a7b871
11 changed files with 24 additions and 8 deletions
+5 -1
View File
@@ -28,7 +28,11 @@ let
getHostIps = hostname:
filter (o: o != null) [ (getHostIpv4 hostname) (getHostIpv6 hostname) ];
getDomainPostgresqlServer = hostname:
let domain-name = entities.hosts."${hostname}".domain;
in getHostFqdn entities.domain."${domain-name}".postgresql-server;
in {
inherit getHostSite getHostDomain getHostRealm getHostFqdn getHostIpv4
getHostIpv6 getHostIps;
getHostIpv6 getHostIps getDomainPostgresqlServer;
}