2023-12-04 00:22:38 +02:00
|
|
|
{ config, depot, ... }:
|
2023-06-05 02:20:22 +03:00
|
|
|
|
|
|
|
{
|
|
|
|
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";
|
2023-06-05 02:20:22 +03:00
|
|
|
module = "nextcloudStatus";
|
|
|
|
};
|
2023-12-04 00:22:38 +02:00
|
|
|
|
|
|
|
dns.records.storage.target = map
|
|
|
|
(node: depot.hours.${node}.interfaces.primary.addrPublic)
|
|
|
|
config.services.nextcloud.nodes.host;
|
2023-06-05 02:20:22 +03:00
|
|
|
}
|