summaryrefslogtreecommitdiff
path: root/hosts/cirrus/irc.nix
diff options
context:
space:
mode:
authorGrigory Shipunov2023-01-22 22:23:53 +0100
committerGrigory Shipunov2023-02-08 16:46:09 +0100
commit69805fab21ffc665e8f85b77c01b565d1e3ddd7a (patch)
tree134dde4e3f3896cb0d0d6e16bdc2de4013cf7eae /hosts/cirrus/irc.nix
parent0c63cfbe7a01522607965be761534c514ea37b6c (diff)
irc bouncer init
Diffstat (limited to 'hosts/cirrus/irc.nix')
-rw-r--r--hosts/cirrus/irc.nix13
1 files changed, 13 insertions, 0 deletions
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";
};
};
}