nixos/hosts/vm/perseverance/info.nix

49 lines
1.0 KiB
Nix

{
name = "perseverance";
description = "Serveur de secours";
id = 137;
enable = true;
networking = {
adm.enable = true;
srv-nat.enable = true;
};
homeNounou.enable = false;
users.root.passwordFile = ../../../secrets/apprentix/root.age;
resticClient.enable = false;
gatus.endpoints = [{
name = "Serveur Med";
url = "https://med.crans.org/";
interval = "1m";
group = "Associations";
conditions = [
"[STATUS] == 200"
"[RESPONSE_TIME] < 300"];
}
{
name = "Serveur Photo LENS";
url = "https://photos.crans.org/";
interval = "1m";
group = "Associations";
conditions = [
"[STATUS] == 200"
"[RESPONSE_TIME] < 300"];
}
{
name = "Note BDE";
url = "https://note.crans.org/";
interval = "1m";
group = "Associations";
conditions = [
"[STATUS] == 200"
"[RESPONSE_TIME] < 300"];
}
]
}