nix-config/hosts/cirrus/irc.nix

26 lines
529 B
Nix
Raw Normal View History

2023-01-22 22:22:05 +01:00
{ pkgs, config, ... }: {
containers.irc = {
autoStart = true;
privateNetwork = true;
2023-01-22 22:23:53 +01:00
localAddress = "10.34.44.100/24";
2023-01-22 22:22:05 +01:00
config = { config, pkgs, ... }: {
services.soju = {
2023-01-22 22:23:53 +01:00
hostname = "mr_bouncy.oxapentane.com";
2023-01-22 22:22:05 +01:00
enable = true;
enableMessageLogging = true;
2023-01-22 22:23:53 +01:00
acceptProxyIP = [
"192.168.100.1"
];
2023-01-22 22:22:05 +01:00
};
2023-01-22 22:23:53 +01:00
networking.firewall = {
enable = true;
allowedTCPPorts = [ 6697 22 ];
};
system.stateVersion = "22.11";
2023-01-22 22:22:05 +01:00
};
};
}