l 2: add sections for cgit

This commit is contained in:
lassulus 2017-03-16 15:09:39 +01:00
parent 22daf39ce8
commit 839ffcd0ae
2 changed files with 6 additions and 2 deletions

View file

@ -32,10 +32,13 @@ let
public-repos = mapAttrs make-public-repo {
stockholm = {
cgit.desc = "take all the computers hostage, they'll love you!";
cgit.section = "configuration";
};
kimsufi-check = {};
} // mapAttrs make-public-repo-silent {
the_playlist = {};
the_playlist = {
cgit.desc = "Good Music collection + tools";
cgit.section = "art";
};
};
restricted-repos = mapAttrs make-restricted-repo (

View file

@ -10,6 +10,7 @@ let
public = true;
name = mkDefault "${name}";
cgit.desc = mkDefault "mirror for ${name}";
cgit.section = mkDefault "mirror";
hooks = mkIf announce (mkDefault {
post-receive = pkgs.git-hooks.irc-announce {
nick = config.networking.hostName;