docs/configuration: improve section Remote bitcoind

This commit is contained in:
Erik Arvstedt 2022-08-22 14:57:40 +02:00
parent af115d746b
commit 3a65dc0dc9
No known key found for this signature in database
GPG Key ID: 33312B944DD97846

View File

@ -214,18 +214,15 @@ services.bitcoind = {
}; };
``` ```
If a `secure-node.nix` or `tor-enable.nix` preset is imported in your For each service that connects to bitcoind and has option
configuration or a `tor.enforce` option is explicitly enabled, you also need to `services.<service>.tor.enforce` enabled (either explicitly or by importing
allow remote connections for **every** service which needs to connect to the `secure-node.nix` or `enable-tor.nix`), you need to
remote bitcoind: allow the remote bitcoind connection:
```nix
``` systemd.services.<service>.serviceConfig.IPAddressAllow = [ ${services.bitcoind.rpc.address} ];
systemd.services.<service>.serviceConfig = {
IPAddressAllow = [ ${services.bitcoind.rpc.address} ];
};
``` ```
> Please note that configuration above applies only if the remote bitcoind **is > The above configuration is only required if the remote bitcoind **is
> not** accessed via Tor. > not** accessed via Tor.