nixos/hosts/vm/nextcloud/info.nix

33 lines
560 B
Nix

{
name = "nextcloud";
description = "Nextcloud du Crans";
id = 146;
enable = true;
networking = {
srv-nat = {
enable = true;
interface = "ens20";
};
san = {
enable = true;
interface = "ens19";
};
};
homeAdh.enable = true;
resticClient.enable = false;
gatus.endpoints = [{
name = "NextCloud";
url = "https://nextcloud.crans.org/";
interval = "1m";
group = "Crans";
conditions = [
"[STATUS] == 200"
"[RESPONSE_TIME] < 300"];
}];
}