{ config, lib, ... }: let cfg = config.os.srv.i2p; in { options.os.srv.i2p.enable = lib.mkEnableOption "enables i2pd"; config = lib.mkIf cfg.enable { services.i2pd = { enable = true; upnp.enable = true; bandwidth = 1024; ssu2 = { enable = true; # published = true; }; reseed.verify = true; # proto = { # socksProxy = { # enable = true; # port = 4445; # }; # i2pControl.enable = true; # }; yggdrasil.enable = true; }; }; }