diff options
author | tv <tv@krebsco.de> | 2016-06-07 03:14:21 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2016-06-07 22:38:38 +0200 |
commit | 4a34b27c1c6c3fea2b336c0316c597d74460b428 (patch) | |
tree | 97b718fe06acba0f298a78207ed9a5cbfd542b1e /mv | |
parent | 6fcc35afb0003f0885994b3c09e401f3178d7a08 (diff) |
krebs.git.cgit: make `cache-root` configurable
... along with all the other stuff :)
Diffstat (limited to 'mv')
-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 { |