Update LNBits environment variables for LndRestWallet

This commit is contained in:
Sam 2024-12-29 10:25:09 +00:00
parent 4addeb3fba
commit b3df1841d7
1 changed files with 7 additions and 1 deletions

View File

@ -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";
};
};
};