summaryrefslogtreecommitdiffstats
path: root/tv/2configs/git.nix
diff options
context:
space:
mode:
authortv <tv@shackspace.de>2015-10-01 20:33:18 +0200
committertv <tv@shackspace.de>2015-10-01 20:34:28 +0200
commit4d1aebc740ffc35f97060c60e43300b9d60b5229 (patch)
tree573f76f21aa8146f8b983550b588de186bf9a513 /tv/2configs/git.nix
parentcf80bdaf425c9757cf15496c62048125b1a2c822 (diff)
irc-announce: allow disabling just log and diff
Diffstat (limited to 'tv/2configs/git.nix')
-rw-r--r--tv/2configs/git.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/tv/2configs/git.nix b/tv/2configs/git.nix
index da9f70629..401cf5f4d 100644
--- a/tv/2configs/git.nix
+++ b/tv/2configs/git.nix
@@ -58,12 +58,13 @@ let
make-public-repo = name: { desc ? null, ... }: {
inherit name desc;
public = true;
- hooks = optionalAttrs (config.krebs.build.host.name == "cd") {
+ hooks = {
post-receive = git.irc-announce {
# TODO make nick = config.krebs.build.host.name the default
nick = config.krebs.build.host.name;
channel = "#retiolum";
server = "cd.retiolum";
+ verbose = config.krebs.build.host.name == "cd";
};
};
};