services.xray.settings
NixOS option
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
declared in: nixos/modules/services/networking/xray.nixView source on NixOS/nixpkgs →{
inbounds = [
{
listen = "127.0.0.1";
port = 1080;
protocol = "http";
}
];
outbounds = [
{
protocol = "freedom";
}
];
}