niksos/hosts/chmura/services/i2pd.nix

27 lines
671 B
Nix
Raw Normal View History

2023-09-08 16:10:15 +02:00
_: {
services.i2pd = {
enable = true;
ifname = "enp6s0";
port = 9898;
dataDir = "/var/lib/i2pd";
bandwidth = 128;
logLevel = "warn";
proto = {
httpProxy = {
enable = true;
outproxy = "http://false.i2p";
};
};
outTunnels.irc = {
enable = true;
address = "127.0.0.1";
port = 6667;
destination = "irc.ilita.i2p";
destinationPort = 6667;
};
};
networking.firewall.allowedTCPPorts = [ 9898 4444 6667 ];
networking.firewall.allowedUDPPorts = [ 9898 4444 6667 ];
}