diff --git a/hosts/common/optional/nixos-containers/nix-bitcoin.nix b/hosts/common/optional/nixos-containers/nix-bitcoin.nix index 3b6b233..6a504c1 100644 --- a/hosts/common/optional/nixos-containers/nix-bitcoin.nix +++ b/hosts/common/optional/nixos-containers/nix-bitcoin.nix @@ -180,7 +180,13 @@ in { openFirewall = true; host = "0.0.0.0"; port = 8231; - env = {LNBITS_ADMIN_UI = "true";}; + env = { + LNBITS_ADMIN_UI = "true"; + LNBITS_BACKEND_WALLET_CLASS = "LndRestWallet"; + LND_REST_ENDPOINT = "https://127.0.0.1:8080"; + LND_REST_CERT = "/etc/nix-bitcoin-secrets/lnd-cert"; + LND_REST_MACAROON = "/var/lib/lnbits/admin.macaroon"; + }; }; };