60ca9ba437
Main objective was to get SMART/md monitoring working, alerts go (via some awful glue code) to #sterni.lv on hackint. Bot nick should also be registered in the future. Change-Id: Ia73c5a64ee9f6df62f5fbe21fc1606477e3d6e73 Reviewed-on: https://cl.tvl.fyi/c/depot/+/10174 Reviewed-by: sterni <sternenseemann@systemli.org> Tested-by: BuildkiteCI
23 lines
500 B
Nix
23 lines
500 B
Nix
{ depot, config, pkgs, lib, ... }:
|
|
|
|
{
|
|
imports = [
|
|
(depot.path.origSrc + "/ops/modules/irccat.nix")
|
|
];
|
|
|
|
config = {
|
|
services.depot.irccat = {
|
|
enable = true;
|
|
secretsFile = builtins.toFile "empty.json" "{}"; # TODO(sterni): register
|
|
config = {
|
|
tcp.listen = ":4722"; # ircc
|
|
irc = {
|
|
server = "irc.hackint.org:6697";
|
|
tls = true;
|
|
nick = config.networking.hostName;
|
|
realname = "irccat";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|