Tor proxy, always-use-proxy, bind to localhost clightning

This commit is contained in:
nixbitcoin 2019-03-07 13:16:11 +01:00
parent 902455e142
commit 132703637c
No known key found for this signature in database
GPG key ID: DD11F9AD5308B3BA
2 changed files with 23 additions and 0 deletions

View file

@ -104,6 +104,9 @@ in {
enable = true;
bitcoin-rpcuser = config.services.bitcoind.rpcuser;
};
services.clightning.proxy = config.services.tor.client.socksListenAddress;
services.clightning.always-use-proxy = true;
services.clightning.bind-addr = "127.0.0.1:9735";
services.tor.hiddenServices.clightning = {
map = [{
port = 9375; toPort = 9375;