feat(docker): display Zeus lndconnect as QR code

- Add qrencode to devenv.nix packages
- Display QR code in terminal for easy Zeus wallet scanning
- Falls back to text if qrencode not available

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Patrick Mulligan 2026-02-15 14:38:40 -05:00
commit 786b118d54
2 changed files with 8 additions and 1 deletions

View file

@ -50,6 +50,7 @@
just # Task runner
jq # JSON processing
websocat # WebSocket client
qrencode # QR code generation for terminal
# Database tools
pgcli

View file

@ -339,7 +339,13 @@ show_status() {
if [[ -n "$lndconnect" ]]; then
echo -e "${CYAN}Zeus Wallet (connect to lnd-3 for testing)${NC}"
if command -v qrencode &> /dev/null; then
echo ""
qrencode -t ANSIUTF8 "$lndconnect"
else
echo -e " ${DIM}$lndconnect${NC}"
echo -e " ${DIM}(install qrencode for QR code display)${NC}"
fi
echo ""
fi