diff --git a/modules/bitcoinecosystem.nix b/modules/bitcoinecosystem.nix index 41fac44..4b2094b 100644 --- a/modules/bitcoinecosystem.nix +++ b/modules/bitcoinecosystem.nix @@ -22,40 +22,40 @@ services.lnd = { enable = true; tor.enforce = true; - tor.proxy = true; + tor.proxy = true; }; services.lnd.macaroons.btcpayserver.permissions = lib.mkForce '' - {"entity":"address","action":"write"}, - {"entity":"info","action":"read"}, - {"entity":"info","action":"write"}, - {"entity":"invoices","action":"read"}, - {"entity":"invoices","action":"write"}, - {"entity":"macaroon","action":"generate"}, - {"entity":"macaroon","action":"read"}, - {"entity":"macaroon","action":"write"}, - {"entity":"message","action":"read"}, - {"entity":"message","action":"write"}, - {"entity":"offchain","action":"read"}, - {"entity":"offchain","action":"write"}, - {"entity":"onchain","action":"read"}, - {"entity":"onchain","action":"write"}, - {"entity":"peers","action":"read"}, - {"entity":"peers","action":"write"}, - {"entity":"signer","action":"generate"}, - {"entity":"signer","action":"read"} - ''; + {"entity":"address","action":"write"}, + {"entity":"info","action":"read"}, + {"entity":"info","action":"write"}, + {"entity":"invoices","action":"read"}, + {"entity":"invoices","action":"write"}, + {"entity":"macaroon","action":"generate"}, + {"entity":"macaroon","action":"read"}, + {"entity":"macaroon","action":"write"}, + {"entity":"message","action":"read"}, + {"entity":"message","action":"write"}, + {"entity":"offchain","action":"read"}, + {"entity":"offchain","action":"write"}, + {"entity":"onchain","action":"read"}, + {"entity":"onchain","action":"write"}, + {"entity":"peers","action":"read"}, + {"entity":"peers","action":"write"}, + {"entity":"signer","action":"generate"}, + {"entity":"signer","action":"read"} + ''; services.lightning-loop = { - enable = true; - tor.enforce = true; - tor.proxy = true; + enable = true; + tor.enforce = true; + tor.proxy = true; }; services.lightning-pool = { enable = true; - tor.enforce = true; - tor.proxy = true; + tor.enforce = true; + tor.proxy = true; }; services.rtl = { @@ -72,16 +72,16 @@ }; }; - nix-bitcoin.onionServices.lnd.public = true; - - services.lnd.lndconnect = { - enable = true; - onion = true; - }; - - services.charge-lnd.enable = true; + nix-bitcoin.onionServices.lnd.public = true; + + services.lnd.lndconnect = { + enable = true; + onion = true; + }; + + services.charge-lnd.enable = true; - services.btcpayserver.lightningBackend = "lnd"; + services.btcpayserver.lightningBackend = "lnd"; services.electrs = { enable = true;