system/modules/nixos/services/i2pd.nix

14 lines
302 B
Nix
Raw Normal View History

2024-04-16 02:51:46 +03:00
{ 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;
};
};
}