From f0e4c33a5f38eb331fa0d12e3b7603237ca4b6c2 Mon Sep 17 00:00:00 2001 From: naturallaw77 Date: Mon, 31 Aug 2026 10:58:04 -0500 Subject: [PATCH] fix: set lnurl domainFile for Hub-managed Lightning Address domain --- modules/sovran-bitcoin-integration.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/sovran-bitcoin-integration.nix b/modules/sovran-bitcoin-integration.nix index e856c00..e2b31dc 100644 --- a/modules/sovran-bitcoin-integration.nix +++ b/modules/sovran-bitcoin-integration.nix @@ -113,6 +113,12 @@ in { # Sovran_Bitcoin's albyhub.nix and lnurl.nix handle the base services. # This section wires the Hub's web app environment so the Hub can # display NWC status and the nwc-wallet CLI works from the Hub shell. + + services.sovran-lnurl = lib.mkIf cfg.features."nwc-wallets" { + # The Hub writes the Lightning Address domain to this file. + domainFile = "/var/lib/domains/lightning"; + }; + systemd.services.sovran-hub-web.environment = lib.mkIf cfg.features."nwc-wallets" hubNwcEnvironment;