summaryrefslogtreecommitdiffstats
path: root/makefu/2configs
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2019-02-10 09:53:45 +0100
committermakefu <github@syntax-fehler.de>2019-02-10 09:53:45 +0100
commitd64c6bb976f61b2173a2c170ea1ba6f26c57147e (patch)
tree9e2def705d4c84065e370f83c154ece6d4837e53 /makefu/2configs
parent78803cf974c0828170ff360b353bd1b67f2d7da9 (diff)
Revert "ma cgit: disable irc hook"
This reverts commit 1f8ad80695e93687999b8151ddd2e7f2c40b085b.
Diffstat (limited to 'makefu/2configs')
-rw-r--r--makefu/2configs/git/cgit-retiolum.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/makefu/2configs/git/cgit-retiolum.nix b/makefu/2configs/git/cgit-retiolum.nix
index 4890e4afe..0ff855980 100644
--- a/makefu/2configs/git/cgit-retiolum.nix
+++ b/makefu/2configs/git/cgit-retiolum.nix
@@ -62,6 +62,15 @@ let
make-krebs-repo = with git; name: { cgit ? {}, ... }: {
inherit cgit name;
public = true;
+ hooks = {
+ post-receive = pkgs.git-hooks.irc-announce {
+ nick = config.networking.hostName;
+ verbose = config.krebs.build.host.name == "gum";
+ channel = "#xxx";
+ # TODO remove the hardcoded hostname
+ server = "irc.r";
+ };
+ };
};