mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 19:51:34 +01:00
Simplify config for gatus endpoints
This commit is contained in:
parent
f65bf51905
commit
6c0ff3393b
9 changed files with 29 additions and 61 deletions
|
|
@ -29,10 +29,5 @@ in
|
|||
root = "${pkgs.it-tools}/lib";
|
||||
configuration.general.health = true;
|
||||
};
|
||||
|
||||
custom.services.gatus.endpoints."IT Tools" = {
|
||||
url = "https://${cfg.domain}/health";
|
||||
extraConditions = [ "[BODY] == OK" ];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue