cluster/services/nextcloud: add dns records

This commit is contained in:
Max Headroom 2023-12-03 23:22:38 +01:00
parent bbaf0b0c14
commit 38d8894676

View file

@ -1,4 +1,4 @@
{ depot, ... }:
{ config, depot, ... }:
{
services.nextcloud = {
@ -10,4 +10,8 @@
address = "https://storage.${depot.lib.meta.domain}/status.php";
module = "nextcloudStatus";
};
dns.records.storage.target = map
(node: depot.hours.${node}.interfaces.primary.addrPublic)
config.services.nextcloud.nodes.host;
}