summaryrefslogtreecommitdiff
path: root/hosts/cirrus
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/cirrus')
-rw-r--r--hosts/cirrus/default.nix7
-rw-r--r--hosts/cirrus/irc.nix13
2 files changed, 17 insertions, 3 deletions
diff --git a/hosts/cirrus/default.nix b/hosts/cirrus/default.nix
index 897b8d8..afc06d4 100644
--- a/hosts/cirrus/default.nix
+++ b/hosts/cirrus/default.nix
@@ -1,10 +1,11 @@
{
imports = [
- ./hardware-configuration.nix
./configuration.nix
+ ./ddix.nix
+ ./hardware-configuration.nix
+ ./irc.nix
+ ./nextcloud-proxy.nix
./secrets.nix
./wireguard-server.nix
- ./nextcloud-proxy.nix
- ./ddix.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";
};
};
}