MyNixOS website logo
option

services.v2ray.config

The configuration object.

Either configFile or config must be specified.

See https://www.v2fly.org/en_US/v5/config/overview.html.

Declarations
Type
null or JSON value
Default
null
Example
{
  inbounds = [
    {
      listen = "127.0.0.1";
      port = 1080;
      protocol = "http";
    }
  ];
  outbounds = [
    {
      protocol = "freedom";
    }
  ];
}