lightning-charge: add netns

- Adds lightning-charge to netns-isolation.services
- Adds cfg.enforceTor to bring lightning-charge in line with other
  services
- Adds extraArgs option to allow using lightning-charge with network
  namespaces
- Adds host option (defaults to localhost) as target of hidden service
This commit is contained in:
nixbitcoin
2020-06-10 14:43:03 +00:00
parent c4ab73d51f
commit 7369f0a7ec
3 changed files with 26 additions and 3 deletions

View File

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