Fix spark wallet QR code display by providing the onion hostname as public url

This commit is contained in:
Jonas Nick 2019-03-27 00:49:54 +00:00
parent fe23ced5ec
commit 0d5c67c1cf
No known key found for this signature in database
GPG key ID: 4861DBF262123605
3 changed files with 35 additions and 11 deletions

View file

@ -172,12 +172,7 @@ in {
services.nix-bitcoin-webindex.enable = cfg.modules == "all";
services.clightning.autolisten = cfg.modules == "all";
services.spark-wallet.enable = cfg.modules == "all";
services.tor.hiddenServices.spark-wallet = {
map = [{
port = 80; toPort = 9737;
}];
version = 3;
};
services.spark-wallet.onion-service = true;
services.electrs.enable = false;
services.electrs.high-memory = false;
services.tor.hiddenServices.electrs = {