mihomo-kit/router/bmstu.env.example
Sam Latsin 2557a9aa49 mihomo-kit: config kit for mihomo on nikki and FlClash
Templates + router script + browser constructor that build mihomo
profiles (router home/street, mobile) with optional OpenVPN (TOTP)
and Tailscale, one-command installer and maintenance commands.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 00:57:28 +03:00

18 lines
613 B
Plaintext

# /etc/nikki/bmstu.env on the router, chmod 600 (mihomo-kit.sh setup writes it)
VPN_USERNAME="username"
VPN_PASSWORD="your-password"
# base32 secret from the TOTP QR (otpauth://totp/...?secret=XXXX)
TOTP_SECRET="XXXXXXXXXXXXXXXX"
# otp-last (default: <password><otp>) | otp-first | scrv1
#PASS_FORMAT=otp-last
# nikki API: read from uci (nikki.mixin.api_listen / api_secret) unless set here
#API="http://127.0.0.1:9090"
#API_SECRET=""
# something reachable only (or at least) through the VPN
#CHECK_URL="https://www.bmstu.ru"
#OVPN_FILE=/etc/nikki/bmstu.ovpn
#PROVIDER_FILE=/etc/nikki/run/providers/bmstu.yaml