mirror of https://gitlab.crans.org/nounous/nixos
optimisation
parent
5428ecded4
commit
326cfb1912
|
|
@ -2,9 +2,13 @@
|
||||||
let
|
let
|
||||||
cfg = config.services.forgejo;
|
cfg = config.services.forgejo;
|
||||||
srv = cfg.settings.server;
|
srv = cfg.settings.server;
|
||||||
allGatusEndpoints = lib.concatMap
|
otherHosts = lib.filterAttrs
|
||||||
(machine: machine.config.crans.gatus.endpoints or [ ])
|
(name: _: name != "cransIso" && name != config.networking.hostName)
|
||||||
(lib.attrValues self.nixosConfigurations);
|
self.nixosConfigurations;
|
||||||
|
|
||||||
|
allGatusEndpoints =
|
||||||
|
config.crans.gatus.endpoints
|
||||||
|
++ lib.concatMap (machine: machine.config.crans.gatus.endpoints or [ ]) (lib.attrValues otherHosts);
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
services.openssh.settings.AcceptEnv = [ "GIT_PROTOCOL" ];
|
services.openssh.settings.AcceptEnv = [ "GIT_PROTOCOL" ];
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue