From d6546bfed8ae23738b9e938db6cd33f48143914c Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 27 Jul 2026 14:16:21 +0000 Subject: [PATCH] fix: use nix-bitcoin lnd cert path for wallet connections --- modules/nwc-wallets.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/nwc-wallets.nix b/modules/nwc-wallets.nix index 9bbe7d1..e9b7245 100644 --- a/modules/nwc-wallets.nix +++ b/modules/nwc-wallets.nix @@ -13,7 +13,7 @@ let lndRpcAddress = lib.attrByPath [ "services" "lnd" "rpcAddress" ] "127.0.0.1" config; lndRpcPort = toString (lib.attrByPath [ "services" "lnd" "rpcPort" ] 10009 config); - lndCertPath = lib.attrByPath [ "services" "lnd" "certPath" ] "/var/lib/lnd/tls.cert" config; + lndCertPath = config.services.lnd.certPath; albyhubWrapper = pkgs.writeShellScript "albyhub-wrapper" '' set -euo pipefail