mirror of https://gitlab.crans.org/nounous/nixos
Get all gatus endpoints
parent
f30f15081e
commit
3ffd59710f
|
|
@ -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;
|
||||
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue