spark-wallet: add netns

- Adds spark-wallet to netns-isolation.services
- Adds extraArgs option to allow using spark-wallet with network
  namespaces
- Adds host option (defaults to localhost) as target of hidden service
- Adds enforceTor option to bring in line with other services
This commit is contained in:
nixbitcoin 2020-06-10 14:41:13 +00:00
parent d6296acaba
commit c4ab73d51f
No known key found for this signature in database
GPG key ID: DD11F9AD5308B3BA
3 changed files with 32 additions and 5 deletions

View file

@ -122,7 +122,10 @@ in {
toHost = cfg.electrs.host;
};
services.spark-wallet.onion-service = true;
services.spark-wallet = {
onion-service = true;
enforceTor = true;
};
services.nix-bitcoin-webindex.enforceTor = true;