updated bitcoin lnd node
This commit is contained in:
parent
ea252c9aaf
commit
50cdf1d338
@ -22,40 +22,40 @@
|
|||||||
services.lnd = {
|
services.lnd = {
|
||||||
enable = true;
|
enable = true;
|
||||||
tor.enforce = true;
|
tor.enforce = true;
|
||||||
tor.proxy = true;
|
tor.proxy = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
services.lnd.macaroons.btcpayserver.permissions = lib.mkForce ''
|
services.lnd.macaroons.btcpayserver.permissions = lib.mkForce ''
|
||||||
{"entity":"address","action":"write"},
|
{"entity":"address","action":"write"},
|
||||||
{"entity":"info","action":"read"},
|
{"entity":"info","action":"read"},
|
||||||
{"entity":"info","action":"write"},
|
{"entity":"info","action":"write"},
|
||||||
{"entity":"invoices","action":"read"},
|
{"entity":"invoices","action":"read"},
|
||||||
{"entity":"invoices","action":"write"},
|
{"entity":"invoices","action":"write"},
|
||||||
{"entity":"macaroon","action":"generate"},
|
{"entity":"macaroon","action":"generate"},
|
||||||
{"entity":"macaroon","action":"read"},
|
{"entity":"macaroon","action":"read"},
|
||||||
{"entity":"macaroon","action":"write"},
|
{"entity":"macaroon","action":"write"},
|
||||||
{"entity":"message","action":"read"},
|
{"entity":"message","action":"read"},
|
||||||
{"entity":"message","action":"write"},
|
{"entity":"message","action":"write"},
|
||||||
{"entity":"offchain","action":"read"},
|
{"entity":"offchain","action":"read"},
|
||||||
{"entity":"offchain","action":"write"},
|
{"entity":"offchain","action":"write"},
|
||||||
{"entity":"onchain","action":"read"},
|
{"entity":"onchain","action":"read"},
|
||||||
{"entity":"onchain","action":"write"},
|
{"entity":"onchain","action":"write"},
|
||||||
{"entity":"peers","action":"read"},
|
{"entity":"peers","action":"read"},
|
||||||
{"entity":"peers","action":"write"},
|
{"entity":"peers","action":"write"},
|
||||||
{"entity":"signer","action":"generate"},
|
{"entity":"signer","action":"generate"},
|
||||||
{"entity":"signer","action":"read"}
|
{"entity":"signer","action":"read"}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
services.lightning-loop = {
|
services.lightning-loop = {
|
||||||
enable = true;
|
enable = true;
|
||||||
tor.enforce = true;
|
tor.enforce = true;
|
||||||
tor.proxy = true;
|
tor.proxy = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
services.lightning-pool = {
|
services.lightning-pool = {
|
||||||
enable = true;
|
enable = true;
|
||||||
tor.enforce = true;
|
tor.enforce = true;
|
||||||
tor.proxy = true;
|
tor.proxy = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
services.rtl = {
|
services.rtl = {
|
||||||
@ -72,16 +72,16 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
nix-bitcoin.onionServices.lnd.public = true;
|
nix-bitcoin.onionServices.lnd.public = true;
|
||||||
|
|
||||||
services.lnd.lndconnect = {
|
services.lnd.lndconnect = {
|
||||||
enable = true;
|
enable = true;
|
||||||
onion = true;
|
onion = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
services.charge-lnd.enable = true;
|
services.charge-lnd.enable = true;
|
||||||
|
|
||||||
services.btcpayserver.lightningBackend = "lnd";
|
services.btcpayserver.lightningBackend = "lnd";
|
||||||
|
|
||||||
services.electrs = {
|
services.electrs = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user