spark-wallet: don't disable tor when onion-service is disabled
This fixes modules-only usage. We can leave enabling tor and tor.client to secure-node.nix, on which spark-wallet has a strict dependency.
This commit is contained in:
parent
c9251e72a1
commit
36358066e4
|
@ -71,9 +71,6 @@ in {
|
||||||
};
|
};
|
||||||
users.groups.spark-wallet = {};
|
users.groups.spark-wallet = {};
|
||||||
|
|
||||||
services.tor.enable = cfg.onion-service;
|
|
||||||
# requires client functionality for Bitcoin rate lookup
|
|
||||||
services.tor.client.enable = true;
|
|
||||||
services.tor.hiddenServices.spark-wallet = mkIf cfg.onion-service {
|
services.tor.hiddenServices.spark-wallet = mkIf cfg.onion-service {
|
||||||
map = [{
|
map = [{
|
||||||
port = 80; toPort = 9737; toHost = cfg.host;
|
port = 80; toPort = 9737; toHost = cfg.host;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user