depot/cluster/services/nextcloud/default.nix

18 lines
409 B
Nix
Raw Normal View History

{ config, depot, ... }:
{
services.nextcloud = {
nodes.host = [ "VEGAS" ];
nixos.host = ./host.nix;
};
monitoring.blackbox.targets.nextcloud = {
2023-08-31 01:55:45 +03:00
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;
}