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 | 6414fec210adceee21e3724909cf865b44c771cf (patch) | |
tree | e52438d5a874477db425ebde901d126599d38c2e /mv/2configs | |
parent | 06a7bdf7964695f198357b6985bf2594b3484e13 (diff) |
krebs.git.cgit: make `cache-root` configurable
... along with all the other stuff :)
Diffstat (limited to 'mv/2configs')
-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 933649f..aee448c 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 { |