From 0c83f87233a9b51a0e9d4859fea9206e5e810657 Mon Sep 17 00:00:00 2001 From: Jonas Nick Date: Sun, 24 Mar 2019 20:28:33 +0000 Subject: [PATCH] Don't include electrs in 'all' profile --- README.md | 3 ++- modules/nix-bitcoin.nix | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7908320..4c7b924 100644 --- a/README.md +++ b/README.md @@ -36,12 +36,13 @@ The `nix-bitcoin.nix` module provides the two profiles "minimal" and "all": * adds clightning hidden service * [liquid-daemon](https://github.com/blockstream/liquid) * [lightning charge](https://github.com/ElementsProject/lightning-charge) - * [electrs](https://github.com/romanz/electrs) (currently disabled) * [nanopos](https://github.com/ElementsProject/nanopos) * adds an index page using nginx to display node information and link to nanopos * [spark-wallet](https://github.com/shesek/spark-wallet) * Notes: run `nodeinfo` to get its onion address and `systemctl status spark-wallet` to get the access key. When entering the onion address on the Android app don't forgot to prepend "http://" +* other + * [electrs](https://github.com/romanz/electrs) can be enabled by setting `services.electrs.enable` in modules `nix-bitcoin.nix` to `true` The data directories of the services can be found in `/var/lib` on the deployed machines. diff --git a/modules/nix-bitcoin.nix b/modules/nix-bitcoin.nix index acdea76..1a19791 100644 --- a/modules/nix-bitcoin.nix +++ b/modules/nix-bitcoin.nix @@ -174,7 +174,7 @@ in { }]; version = 3; }; - services.electrs.enable = cfg.modules == "all"; + services.electrs.enable = false; services.electrs.high-memory = false; services.tor.hiddenServices.electrs = { map = [{