mirror of https://gitlab.crans.org/nounous/nixos
33 lines
560 B
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"];
|
|
}];
|
|
}
|