From 3ac81e38e8575c30b2c4d389a6b04f5b69337cdd Mon Sep 17 00:00:00 2001 From: Will Holdsworth Date: Sat, 7 Mar 2026 13:39:16 +1100 Subject: [PATCH] feat: add gatus config to web-feature template --- modules/templates/web-feature.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/modules/templates/web-feature.nix b/modules/templates/web-feature.nix index 5a2ddbf..8e8978c 100644 --- a/modules/templates/web-feature.nix +++ b/modules/templates/web-feature.nix @@ -10,6 +10,21 @@ in enable = true; }; + gatus.settings.endpoints = [ + { + name = "feature"; + group = ""; + inherit url; + interval = "5m"; + conditions = [ + "[STATUS] == 200" + "[CONNECTED] == true" + "[RESPONSE_TIME] < 500" + ]; + alerts = [ { type = "ntfy"; } ]; + } + ]; + # borgmatic.settings = { # source_directories = [ ]; # postgresql_databases = [