From 8c9c0ea21b95e913603c6d790b8451a62b49abaa Mon Sep 17 00:00:00 2001
From: makefu <github@syntax-fehler.de>
Date: Sun, 10 Feb 2019 09:53:45 +0100
Subject: [PATCH] Revert "ma cgit: disable irc hook"

This reverts commit 1f8ad80695e93687999b8151ddd2e7f2c40b085b.
---
 2configs/git/cgit-retiolum.nix | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/2configs/git/cgit-retiolum.nix b/2configs/git/cgit-retiolum.nix
index 4890e4a..0ff8559 100644
--- a/2configs/git/cgit-retiolum.nix
+++ b/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";
+      };
+    };
   };