summaryrefslogtreecommitdiffstats
path: root/mv/2configs/git.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2016-06-12 17:49:59 +0200
committermakefu <github@syntax-fehler.de>2016-06-12 17:49:59 +0200
commited1d336fc85935b73d9f8a2486ea3e95503ab655 (patch)
treec5b57637a8a6c283ee5bb2608d6412edac9bd1c6 /mv/2configs/git.nix
parent19d5be268368f073401d07f6657cf61827c9d59c (diff)
parentfb8be5838adfe58fc5d13235ac82022cbdb8f6e4 (diff)
Merge remote-tracking branch 'cd/master'
Diffstat (limited to 'mv/2configs/git.nix')
-rw-r--r--mv/2configs/git.nix12
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 {