fix: set lnurl domainFile for Hub-managed Lightning Address domain

This commit is contained in:
2026-08-31 10:58:04 -05:00
parent a6ef13688e
commit f0e4c33a5f
+6
View File
@@ -113,6 +113,12 @@ in {
# Sovran_Bitcoin's albyhub.nix and lnurl.nix handle the base services. # 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 # 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. # 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" systemd.services.sovran-hub-web.environment = lib.mkIf cfg.features."nwc-wallets"
hubNwcEnvironment; hubNwcEnvironment;