Declare gatus endpoints in each of their respective modules

This commit is contained in:
SebastianStork 2025-06-15 00:02:13 +02:00
parent d6245fada0
commit 7a9796e02c
7 changed files with 104 additions and 77 deletions

View file

@ -97,5 +97,17 @@ in
};
};
};
custom.services.gatus.endpoints = lib.mkIf cfg.isServer {
"Syncthing" = {
group = "Private";
url = "tcp://${config.networking.hostName}.${tailscaleCfg.domain}:22000";
};
"Syncthing GUI" = {
group = "Private";
url = "https://${cfg.gui.domain}/rest/noauth/health";
extraConditions = [ "[BODY].status == OK" ];
};
};
};
}