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/electrs.nix b/modules/electrs.nix index 20359b5..0d55f11 100644 --- a/modules/electrs.nix +++ b/modules/electrs.nix @@ -24,7 +24,7 @@ in { type = types.bool; default = false; description = '' - If enabled, the electrs service will sync faster on high-memory systems (≤ 8GB). + If enabled, the electrs service will sync faster on high-memory systems (≥ 8GB). ''; }; }; 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 = [{