Simplify config for gatus endpoints

This commit is contained in:
SebastianStork 2025-06-22 20:44:04 +02:00
parent f65bf51905
commit 6c0ff3393b
9 changed files with 29 additions and 61 deletions

View file

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