irc bouncer init
This commit is contained in:
parent
0c63cfbe7a
commit
69805fab21
2 changed files with 17 additions and 3 deletions
|
@ -1,10 +1,11 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./hardware-configuration.nix
|
|
||||||
./configuration.nix
|
./configuration.nix
|
||||||
|
./ddix.nix
|
||||||
|
./hardware-configuration.nix
|
||||||
|
./irc.nix
|
||||||
|
./nextcloud-proxy.nix
|
||||||
./secrets.nix
|
./secrets.nix
|
||||||
./wireguard-server.nix
|
./wireguard-server.nix
|
||||||
./nextcloud-proxy.nix
|
|
||||||
./ddix.nix
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,11 +2,24 @@
|
||||||
containers.irc = {
|
containers.irc = {
|
||||||
autoStart = true;
|
autoStart = true;
|
||||||
privateNetwork = true;
|
privateNetwork = true;
|
||||||
|
localAddress = "10.34.44.100/24";
|
||||||
|
|
||||||
config = { config, pkgs, ... }: {
|
config = { config, pkgs, ... }: {
|
||||||
services.soju = {
|
services.soju = {
|
||||||
|
hostname = "mr_bouncy.oxapentane.com";
|
||||||
enable = true;
|
enable = true;
|
||||||
enableMessageLogging = true;
|
enableMessageLogging = true;
|
||||||
|
acceptProxyIP = [
|
||||||
|
"192.168.100.1"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
networking.firewall = {
|
||||||
|
enable = true;
|
||||||
|
allowedTCPPorts = [ 6697 22 ];
|
||||||
|
};
|
||||||
|
|
||||||
|
system.stateVersion = "22.11";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue