mirror of https://gitlab.crans.org/nounous/nixos
27 lines
445 B
Nix
27 lines
445 B
Nix
{
|
|
name = "periodique";
|
|
description = "Frontend Matrix du Crans (element)";
|
|
id = 118;
|
|
|
|
enable = true;
|
|
|
|
networking = {
|
|
srv-nat.enable = true;
|
|
};
|
|
|
|
resticClient.when = "02:56";
|
|
|
|
gatus.endpoints = [
|
|
{
|
|
name = "Element";
|
|
url = "https://element.crans.org/";
|
|
interval = "1m";
|
|
group = "Crans";
|
|
conditions = [
|
|
"[STATUS] == 200"
|
|
"[RESPONSE_TIME] < 300"];
|
|
}
|
|
];
|
|
|
|
}
|