diff --git a/app/sovran_systemsos_web/static/js/service-detail.js b/app/sovran_systemsos_web/static/js/service-detail.js index a271aaa..de0244e 100644 --- a/app/sovran_systemsos_web/static/js/service-detail.js +++ b/app/sovran_systemsos_web/static/js/service-detail.js @@ -9,7 +9,10 @@ function _renderCredsHtml(credentials, unit) { var id = "cred-" + Math.random().toString(36).substring(2, 8); var qrBlock = ""; if (cred.qrcode) { - qrBlock = '
QR Code for ' + escHtml(cred.label) + '
In Zeus: Wallets → + → scan icon. This is an LND REST QR for direct node access.
'; + var qrHint = (unit === "zeus-connect-setup.service") + ? "In Zeus: Settings → Connect a node → Scan LN node QR. This is an LND REST QR for direct node access." + : "In Zeus: Wallets → + → scan icon. This is an LND REST QR for direct node access."; + qrBlock = '
QR Code for ' + escHtml(cred.label) + '
' + qrHint + '
'; } // If qronly, render the label + QR block only — skip value and copy button if (cred.qronly) { @@ -1064,6 +1067,19 @@ async function openCredsModal(unit, name, icon) { '' + ''; } + if (unit === "zeus-connect-setup.service") { + html += '
' + + '
📱 Connect to Zeus (Direct Node Access)
' + + '

This QR is an LND REST connection — the direct way to use Zeus with your Lightning node for full admin control. It lets you manage channels, balances, and payments from your phone.

' + + '
' + + '
1
Download Zeus from the App Store or Google Play.
' + + '
2
Open Zeus and go to Settings → Connect a node (or Scan Node Config).
' + + '
3
Tap Scan LN node QR and scan the QR code above.
' + + '
4
Review the connection details, then tap Save Node Config.
' + + '
' + + '
💡 Note: This is not the same as the NWC pairing QR shown in Lightning Wallet Connections — that gives your wallet sandboxed, limited access for everyday spending. LND REST connects Zeus directly to your node for full admin control.
' + + '
'; + } $credsBody.innerHTML = html; _attachCopyHandlers($credsBody); if (unit === "matrix-synapse.service") { diff --git a/modules/core/sovran-hub.nix b/modules/core/sovran-hub.nix index 2ed7bdc..fab1651 100644 --- a/modules/core/sovran-hub.nix +++ b/modules/core/sovran-hub.nix @@ -65,7 +65,7 @@ let ]; } { name = "Zeus Connect"; unit = "zeus-connect-setup.service"; type = "system"; icon = "zeus"; enabled = cfg.services.bitcoin; category = "bitcoin-apps"; credentials = [ { label = "QR Code"; file = "/var/lib/secrets/zeus-connect-url"; qrcode = true; qronly = true; } - { label = "How to Connect"; value = "1. Download Zeus from App Store or Google Play\n2. Open Zeus → Scan Node Config\n3. Scan the QR code above"; } + { label = "How to Connect"; value = "📱 Connect to Zeus (Direct Node Access)\n\nThis QR is an LND REST connection — the direct way to use Zeus with your Lightning node for full admin control.\n\n1. Download Zeus from the App Store or Google Play.\n2. Open Zeus and go to Settings → Connect a node (or Scan Node Config).\n3. Tap Scan LN node QR and scan the QR code above.\n4. Review the connection details, then tap Save Node Config.\n\n💡 Note: This is not the same as the NWC pairing QR shown in Lightning Wallet Connections — that gives your wallet sandboxed, limited access for everyday spending. LND REST connects Zeus directly to your node for full admin control."; } ]; } { name = "Sparrow Auto-Link"; unit = "sparrow-autoconnect.service"; type = "system"; icon = "sparrow"; enabled = cfg.services.bitcoin; category = "bitcoin-apps"; credentials = [ { label = "Server"; value = "tcp://127.0.0.1:50001 (Electrs)"; }