irc bouncer init

This commit is contained in:
Grigory Shipunov 2023-01-22 22:23:53 +01:00
parent 0c63cfbe7a
commit 69805fab21
Signed by: 0xa
GPG key ID: 91FA5E5BF9AA901C
2 changed files with 17 additions and 3 deletions

View file

@ -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
];
}

View file

@ -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";
};
};
}