Merge remote-tracking branch 'lass/master'

This commit is contained in:
makefu 2017-10-01 14:28:54 +02:00
commit cfad74494e
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225
9 changed files with 18 additions and 18 deletions

View File

@ -15,8 +15,8 @@ let
post-receive = pkgs.git-hooks.irc-announce {
nick = config.networking.hostName;
verbose = false;
channel = "#retiolum";
server = "ni.r";
channel = "#xxx";
server = "irc.r";
branches = [ "master" ];
};
});

View File

@ -35,7 +35,7 @@ in {
irc = {
# TODO rename channel to target?
channel = mkOption {
default = "#retiolum";
default = "#xxx";
type = types.str; # TODO types.irc-channel
};
nick = mkOption {
@ -47,7 +47,7 @@ in {
type = types.int;
};
server = mkOption {
default = "ni.r";
default = "irc.r";
type = types.hostname;
};
};

View File

@ -133,8 +133,8 @@ in
irc = {
enable = true;
nick = "build|${hostname}";
server = "ni.r";
channels = [ "retiolum" "noise" ];
server = "irc.r";
channels = [ "xxx" "noise" ];
allowForce = true;
};
extraConfig = ''

View File

@ -77,8 +77,8 @@ let
post-receive = pkgs.git-hooks.irc-announce {
# TODO make nick = config.krebs.build.host.name the default
nick = config.krebs.build.host.name;
channel = "#retiolum";
server = "ni.r";
channel = "#xxx";
server = "irc.r";
verbose = config.krebs.build.host.name == "prism";
# TODO define branches in some kind of option per repo
branches = [ "master" "staging*" ];
@ -98,8 +98,8 @@ let
post-receive = pkgs.git-hooks.irc-announce {
# TODO make nick = config.krebs.build.host.name the default
nick = config.krebs.build.host.name;
channel = "#retiolum";
server = "ni.r";
channel = "#xxx";
server = "irc.r";
verbose = true;
# TODO define branches in some kind of option per repo
branches = [ "master" "staging*" ];

View File

@ -6,7 +6,7 @@ let
set -euf
export LOGNAME=prism-alarm
${pkgs.irc-announce}/bin/irc-announce \
ni.r 6667 ${config.networking.hostName}-alarm \#noise "${msg}" >/dev/null
irc.r 6667 ${config.networking.hostName}-alarm \#noise "${msg}" >/dev/null
'';
in {

View File

@ -29,7 +29,7 @@ with import <stockholm/lib>;
data="$(${pkgs.jq}/bin/jq -r .message)"
export LOGNAME=prism-alarm
${pkgs.irc-announce}/bin/irc-announce \
ni.r 6667 prism-alarm \#noise "$data" >/dev/null
irc.r 6667 prism-alarm \#noise "$data" >/dev/null
'';
in {
enable = true;

View File

@ -4,9 +4,9 @@ with import <stockholm/lib>;
{
krebs.Reaktor.retiolum = {
nickname = "Reaktor|lass";
channels = [ "#retiolum" ];
channels = [ "#xxx" ];
extraEnviron = {
REAKTOR_HOST = "ni.r";
REAKTOR_HOST = "irc.r";
};
plugins = with pkgs.ReaktorPlugins; [
sed-plugin

View File

@ -15,8 +15,8 @@ let
post-receive = pkgs.git-hooks.irc-announce {
nick = config.networking.hostName;
verbose = false;
channel = "#retiolum";
server = "ni.r";
channel = "#xxx";
server = "irc.r";
branches = [ "newest" ];
};
});

View File

@ -100,10 +100,10 @@ let {
);
irc-announce = args: pkgs.git-hooks.irc-announce (recursiveUpdate {
channel = "#retiolum";
channel = "#krebs";
# TODO make nick = config.krebs.build.host.name the default
nick = config.krebs.build.host.name;
server = "ni.r";
server = "irc.r";
verbose = true;
} args);