vps-monitor: Don't monitor public dav domain with gatus

This commit is contained in:
SebastianStork 2026-01-22 22:42:54 +01:00
parent edfc766b46
commit 4039f12871
Signed by: SebastianStork
SSH key fingerprint: SHA256:tRrGdjYOwgHxpSc/wTOZQZEjxcb15P0tyXRsbAfd+2Q
2 changed files with 10 additions and 4 deletions

View file

@ -30,6 +30,9 @@ in
{ name, ... }:
{
options = {
enable = lib.mkEnableOption "" // {
default = true;
};
name = lib.mkOption {
type = lib.types.nonEmptyStr;
default = name;
@ -160,7 +163,7 @@ in
];
};
in
cfg.endpoints |> lib.attrValues |> lib.map mkEndpoint;
cfg.endpoints |> lib.attrValues |> lib.filter (endpoint: endpoint.enable) |> lib.map mkEndpoint;
};
};