system/modules/nixos/services/i2pd.nix

14 lines
302 B
Nix

{ config, lib, ... }:
{
options.local.services.i2pd.enable = lib.mkEnableOption "i2pd. Invisible internet project";
config = lib.mkIf config.local.services.i2pd.enable {
services.i2pd = {
enable = true;
proto.httpProxy.enable = true;
proto.http.enable = true;
};
};
}