From 69805fab21ffc665e8f85b77c01b565d1e3ddd7a Mon Sep 17 00:00:00 2001 From: Grigory Shipunov Date: Sun, 22 Jan 2023 22:23:53 +0100 Subject: irc bouncer init --- hosts/cirrus/irc.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'hosts/cirrus/irc.nix') diff --git a/hosts/cirrus/irc.nix b/hosts/cirrus/irc.nix index e5cb87f..7262b99 100644 --- a/hosts/cirrus/irc.nix +++ b/hosts/cirrus/irc.nix @@ -2,11 +2,24 @@ containers.irc = { autoStart = true; privateNetwork = true; + localAddress = "10.34.44.100/24"; + config = { config, pkgs, ... }: { services.soju = { + hostname = "mr_bouncy.oxapentane.com"; enable = true; enableMessageLogging = true; + acceptProxyIP = [ + "192.168.100.1" + ]; }; + + networking.firewall = { + enable = true; + allowedTCPPorts = [ 6697 22 ]; + }; + + system.stateVersion = "22.11"; }; }; } -- cgit v1.3.1