From 36358066e440d48378130adaf6507174bf60e1a3 Mon Sep 17 00:00:00 2001 From: Erik Arvstedt Date: Sun, 27 Sep 2020 12:43:33 +0200 Subject: [PATCH] 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. --- modules/spark-wallet.nix | 3 --- 1 file changed, 3 deletions(-) diff --git a/modules/spark-wallet.nix b/modules/spark-wallet.nix index 5887eb0..8a0f6a1 100644 --- a/modules/spark-wallet.nix +++ b/modules/spark-wallet.nix @@ -71,9 +71,6 @@ in { }; 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 { map = [{ port = 80; toPort = 9737; toHost = cfg.host;