optimisation

perseverance
Lewis7Lewis 2026-11-10 17:26:59 +01:00
parent 5428ecded4
commit 326cfb1912
1 changed files with 7 additions and 3 deletions

View File

@ -2,9 +2,13 @@
let
cfg = config.services.forgejo;
srv = cfg.settings.server;
allGatusEndpoints = lib.concatMap
(machine: machine.config.crans.gatus.endpoints or [ ])
(lib.attrValues self.nixosConfigurations);
otherHosts = lib.filterAttrs
(name: _: name != "cransIso" && name != config.networking.hostName)
self.nixosConfigurations;
allGatusEndpoints =
config.crans.gatus.endpoints
++ lib.concatMap (machine: machine.config.crans.gatus.endpoints or [ ]) (lib.attrValues otherHosts);
in
{
services.openssh.settings.AcceptEnv = [ "GIT_PROTOCOL" ];