nanopos: add netns

- Adds nanopos to netns-isolation.services
- Adds cfg.enforceTor and extraArgs to bring nanopos in line with other
  services
- Adds charged-url option to allow using nanopos with network
  namespaces.
- Modularizes nginx so webindex can be used without nanopos.
- Adds host option (defaults to localhost) as target of hidden service
- Removes unnecessary after
This commit is contained in:
nixbitcoin
2020-06-10 14:44:50 +00:00
parent 7369f0a7ec
commit 582cb86d74
4 changed files with 52 additions and 15 deletions

View File

@@ -129,6 +129,8 @@ in {
services.lightning-charge.enforceTor = true;
services.nanopos.enforceTor = true;
services.nix-bitcoin-webindex.enforceTor = true;