diff options
author | lassulus <lass@aidsballs.de> | 2016-06-12 21:37:27 +0200 |
---|---|---|
committer | lassulus <lass@aidsballs.de> | 2016-06-12 21:37:27 +0200 |
commit | 4e001014c925288834a31ecf14345b34c1e7e212 (patch) | |
tree | 876860b97bbbc82108a74897834d67e05a21df49 /mv/2configs/git.nix | |
parent | 5dfc8d41d91fd6a48fb55e34e2b12d2012d37a38 (diff) | |
parent | ac3b87b9a62929a81d2a275b808681352cc3c10e (diff) |
Merge remote-tracking branch 'cd/master'
Diffstat (limited to 'mv/2configs/git.nix')
-rw-r--r-- | mv/2configs/git.nix | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/mv/2configs/git.nix b/mv/2configs/git.nix index 933649f20..aee448cb6 100644 --- a/mv/2configs/git.nix +++ b/mv/2configs/git.nix @@ -7,8 +7,12 @@ let out = { krebs.git = { enable = true; - root-title = "public repositories at ${config.krebs.build.host.name}"; - root-desc = "Hmhmh, im Moment nicht."; + cgit = { + settings = { + root-title = "public repositories at ${config.krebs.build.host.name}"; + root-desc = "Hmhmh, im Moment nicht."; + }; + }; repos = mapAttrs (_: s: removeAttrs s ["collaborators"]) repos; rules = rules; }; @@ -22,8 +26,8 @@ let stockholm = {}; }; - make-public-repo = name: { desc ? null, section ? null, ... }: { - inherit name desc section; + make-public-repo = name: { cgit ? {}, ... }: { + inherit cgit name; public = true; hooks = { post-receive = pkgs.git-hooks.irc-announce { |