Files
gatus/.examples/nixos/gatus.nix
T

23 lines
383 B
Nix
Raw Normal View History

2025-06-09 05:59:37 +02:00
{
services.gatus = {
enable = true;
settings = {
web.port = 8080;
endpoints = [
{
name = "website";
url = "https://twin.sh/health";
interval = "5m";
conditions = [
"[STATUS] == 200"
"[BODY].status == UP"
"[RESPONSE_TIME] < 300"
];
}
];
};
};
}