diff --git a/makefu/2configs/git/cgit-retiolum.nix b/makefu/2configs/git/cgit-retiolum.nix index 0ff855980..2a6e41ad8 100644 --- a/makefu/2configs/git/cgit-retiolum.nix +++ b/makefu/2configs/git/cgit-retiolum.nix @@ -3,8 +3,9 @@ with import ; let - repos = priv-repos // krebs-repos // connector-repos // krebsroot-repos; + repos = pub-repos // priv-repos // krebs-repos // connector-repos // krebsroot-repos; rules = concatMap krebs-rules (attrValues krebs-repos) + ++ concatMap priv-rules (attrValues pub-repos) ++ concatMap priv-rules (attrValues priv-repos) ++ concatMap connector-rules (attrValues connector-repos) ++ concatMap krebsroot-rules (attrValues krebsroot-repos); @@ -13,6 +14,12 @@ let hydra-stockholm = { }; }; + pub-repos = mapAttrs make-pub-repo { + yacos-backend = { + cgit.desc = "Yet Another Check-Out System"; + }; + }; + krebs-repos = mapAttrs make-krebs-repo { stockholm = { cgit.desc = "Make all the systems into 1systems!"; @@ -59,6 +66,11 @@ let public = false; }; + make-pub-repo = name: { ... }: { + inherit name; + public = true; + }; + make-krebs-repo = with git; name: { cgit ? {}, ... }: { inherit cgit name; public = true;