docs: improve the wording, add targeted examples

This commit is contained in:
fufsob committed 2026-09-25 09:54:12 +00:00
1 parent 53fc86dd83
commit 63d9dffcae
61 files changed
+3422 -5861

No files matched your search

+11 -27
View File
@@ -1,5 +1,7 @@
# services.proxy-suite.geodata
Geosite and geoip databases used by routing.
Part of the [proxy-suite options reference](./index.md).
## Options
@@ -14,42 +16,24 @@ Part of the [proxy-suite options reference](./index.md).
<a id="services-proxy-suite-geodata-singbox-geoip"></a>
## services\.proxy-suite\.geodata\.singBox\.geoip
Package with share/sing-box/rule-set/geoip-NAME\.srs (country codes by default)\.
Package with share/sing-box/rule-set/geoip-NAME\.srs (countries by default)\.
*Type:*
package
*Default:*
```nix
pkgs.sing-geoip
```
**Type:** package\
**Default:** `pkgs.sing-geoip`
<a id="services-proxy-suite-geodata-singbox-geosite"></a>
## services\.proxy-suite\.geodata\.singBox\.geosite
Package with share/sing-box/rule-set/geosite-NAME\.srs\.
*Type:*
package
*Default:*
```nix
pkgs.sing-geosite
```
**Type:** package\
**Default:** `pkgs.sing-geosite`
<a id="services-proxy-suite-geodata-xray-assets"></a>
## services\.proxy-suite\.geodata\.xray\.assets
Package with share/v2ray/{geoip,geosite}\.dat for every XRay process\. Null uses XRay’s own
country-only data, where a tag like “geoip:telegram” stops XRay from starting\.
Package with share/v2ray/{geoip,geosite}\.dat for XRay\. ` null `: XRay’s built-in data,
which only has countries, so a tag like “geoip:telegram” breaks XRay\.
*Type:*
null or package
*Default:*
```nix
pkgs.v2ray-rules-dat
```
**Type:** null or package\
**Default:** `pkgs.v2ray-rules-dat`