mirror of https://gitlab.crans.org/nounous/nixos
Get all gatus endpoints
parent
f30f15081e
commit
3ffd59710f
|
|
@ -3,6 +3,9 @@
|
||||||
let
|
let
|
||||||
cfg = config.services.forgejo;
|
cfg = config.services.forgejo;
|
||||||
srv = cfg.settings.server;
|
srv = cfg.settings.server;
|
||||||
|
allGatusEndpoints = lib.concatMap
|
||||||
|
(machine: machine.config.crans.gatus.endpoints or [ ])
|
||||||
|
(lib.attrValues self.nixosConfigurations);
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
services.openssh.settings.AcceptEnv = [ "GIT_PROTOCOL" ];
|
services.openssh.settings.AcceptEnv = [ "GIT_PROTOCOL" ];
|
||||||
|
|
@ -38,7 +41,7 @@ in
|
||||||
ui.link = "https://crans.org";
|
ui.link = "https://crans.org";
|
||||||
storage.type = "memory";
|
storage.type = "memory";
|
||||||
#storage.path = "gatus.db";
|
#storage.path = "gatus.db";
|
||||||
endpoints = config.crans.gatus.endpoints;
|
endpoints = allGatusEndpoints;
|
||||||
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue