Add bitcoind onion service
This commit is contained in:
parent
cad0763c70
commit
14a073c35a
@ -18,16 +18,15 @@ in {
|
||||
config = mkIf cfg.enable {
|
||||
services.bitcoin.enable = true;
|
||||
services.bitcoin.listen = true;
|
||||
# make an onion listen node
|
||||
services.tor.enable = true;
|
||||
services.tor.client.enable = true;
|
||||
services.bitcoin.proxy = config.services.tor.client.socksListenAddress;
|
||||
services.tor.hiddenServices =
|
||||
{ "bitcoind".map = [ {
|
||||
#port = config.services.bitcoin.port;
|
||||
port = 8333;
|
||||
} ];
|
||||
"bitcoind".version = 3;};
|
||||
#services.tor.hiddenServices.bitcoind.version = 3;
|
||||
services.bitcoin.port = 8333;
|
||||
services.tor.hiddenServices.bitcoind = {
|
||||
map = [{
|
||||
port = config.services.bitcoin.port;
|
||||
}];
|
||||
version = 3;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user