nixos/clash-meta-client: various tweaks to config

This commit is contained in:
Guanran Wang 2024-03-01 01:21:57 +08:00
parent 158dbbfd3b
commit 147c40bb82
Signed by: nyancat
SSH key fingerprint: SHA256:8oWGKciPALWut/6WA27oFKofX+6Wtc0gQnsefXLQx/8

View file

@ -1,11 +1,11 @@
### YAML Anchors ### YAML Anchors
fetch: &fetch fetch: &fetch
type: http type: http
interval: 3600 interval: 43200 # 12 hours
health-check: health-check:
enable: true enable: true
url: https://www.gstatic.com/generate_204 url: https://www.gstatic.com/generate_204
interval: 300 interval: 600 # 10 minutes
use: &use use: &use
type: select type: select
@ -55,12 +55,13 @@ rules:
- GEOSITE, icloud, DIRECT - GEOSITE, icloud, DIRECT
- GEOSITE, apple@cn, DIRECT - GEOSITE, apple@cn, DIRECT
- GEOSITE, google@cn, DIRECT - GEOSITE, google@cn, DIRECT
- GEOSITE, microsoft@cn, DIRECT
- GEOSITE, category-games@cn, DIRECT - GEOSITE, category-games@cn, DIRECT
# PROXY # PROXY
- GEOSITE, spotify, 台湾 - GEOSITE, spotify, 台湾
- GEOSITE, google, PROXY # - GEOSITE, google, PROXY
- GEOSITE, telegram, PROXY # - GEOSITE, telegram, PROXY
# NOMATCH # NOMATCH
- GEOSITE, cn, DIRECT - GEOSITE, cn, DIRECT