summaryrefslogtreecommitdiffstats
path: root/lass/2configs/ircd.nix
diff options
context:
space:
mode:
Diffstat (limited to 'lass/2configs/ircd.nix')
-rw-r--r--lass/2configs/ircd.nix10
1 files changed, 7 insertions, 3 deletions
diff --git a/lass/2configs/ircd.nix b/lass/2configs/ircd.nix
index f71b769fd..e48bbfd3e 100644
--- a/lass/2configs/ircd.nix
+++ b/lass/2configs/ircd.nix
@@ -1,12 +1,16 @@
{ config, pkgs, ... }:
{
- config.services.charybdis = {
+ krebs.iptables.tables.filter.INPUT.rules = [
+ { predicate = "-i retiolum -p tcp --dport 6667"; target = "ACCEPT"; }
+ ];
+
+ services.charybdis = {
enable = true;
config = ''
serverinfo {
- name = "ire.irc.retiolum";
- sid = "4z3";
+ name = "${config.krebs.build.host.name}.irc.retiolum";
+ sid = "1as";
description = "miep!";
network_name = "irc.retiolum";
network_desc = "Retiolum IRC Network";