electrs: add netns
- Adds electrs to netns-isolation.services - Adds daemonrpc option and specifies address option to allow using electrs with network namespaces - Adds host option (defaults to localhost) as target of hidden service
This commit is contained in:
parent
c0b02ac93a
commit
d6296acaba
3 changed files with 30 additions and 1 deletions
|
|
@ -119,6 +119,7 @@ in {
|
|||
services.tor.hiddenServices.electrs = mkHiddenService {
|
||||
port = cfg.electrs.onionport;
|
||||
toPort = if cfg.electrs.TLSProxy.enable then cfg.electrs.TLSProxy.port else cfg.electrs.port;
|
||||
toHost = cfg.electrs.host;
|
||||
};
|
||||
|
||||
services.spark-wallet.onion-service = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue