services.v2ray.config
The configuration object.
Either configFile or config must be specified.
See https://www.v2fly.org/en_US/v5/config/overview.html.
- Type
null or JSON value- Default
null- Example
{ inbounds = [ { listen = "127.0.0.1"; port = 1080; protocol = "http"; } ]; outbounds = [ { protocol = "freedom"; } ]; }- Declared
- <nixpkgs/nixos/modules/services/networking/v2ray.nix>