This repository has been archived on 2024-08-30. You can view files and clone it, but cannot push or open issues or pull requests.
infrastructure/hosts/pink/services/i2pd.nix

36 lines
713 B
Nix
Raw Normal View History

2024-05-29 17:15:20 +02:00
{ pkgs, lib, config, ... }: {
services.i2pd = {
enable = true;
2024-05-29 17:15:20 +02:00
port = 9732;
enableIPv6 = true;
floodfill = true;
};
#i2pcontrol
services.i2pd.proto.i2pControl = {
enable = true;
port = 7659;
name = "i2pcontrol";
address = "0.0.0.0";
};
services.i2pd.proto.http = {
enable = true;
};
# todo proxy
# todo privacy respecting services
# todo reseed export
# need to create a nginx proxy that proxies the reseed file
services.prometheus.exporters.i2pd = {
enable = true;
2024-05-29 17:15:20 +02:00
port = 3321;
openFirewall = true;
routerAddress = "https://127.0.0.1:${toString config.services.i2pd.proto.i2pControl.port}";
routerPassword = "itoopie";
};
}