services.xray.settings

The configuration object.

Either settingsFile or settings must be specified.

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

Type
null or (attribute set of unspecified value)
Default
null
Example
{
  inbounds = [
    {
      listen = "127.0.0.1";
      port = 1080;
      protocol = "http";
    }
  ];
  outbounds = [
    {
      protocol = "freedom";
    }
  ];
}
Declared
<nixpkgs/nixos/modules/services/networking/xray.nix>