Get all gatus endpoints

perseverance
Lewis7Lewis 2026-11-10 17:08:16 +01:00
parent f30f15081e
commit 3ffd59710f
1 changed files with 4 additions and 1 deletions

View File

@ -3,6 +3,9 @@
let
cfg = config.services.forgejo;
srv = cfg.settings.server;
allGatusEndpoints = lib.concatMap
(machine: machine.config.crans.gatus.endpoints or [ ])
(lib.attrValues self.nixosConfigurations);
in
{
services.openssh.settings.AcceptEnv = [ "GIT_PROTOCOL" ];
@ -38,7 +41,7 @@ in
ui.link = "https://crans.org";
storage.type = "memory";
#storage.path = "gatus.db";
endpoints = config.crans.gatus.endpoints;
endpoints = allGatusEndpoints;
};
};