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