Expose electrs high-memory option in configuration.nix

This commit is contained in:
Ștefan D. Mihăilă 2019-08-07 13:03:34 +02:00
parent edf6b9fc07
commit df784b341e
No known key found for this signature in database
GPG Key ID: 6220AD7846220A52
2 changed files with 2 additions and 1 deletions

View File

@ -41,6 +41,8 @@
# Electrum Server in Rust. Only enable this if hardware wallets are
# disabled.
# services.electrs.enable = true;
# If you have ≥8GB memory, enable this option so electrs will sync faster.
# services.electrs.high-memory = true;
### LIQUIDD
# Enable this module to use Liquid, a sidechain for an inter-exchange

View File

@ -161,7 +161,6 @@ in {
services.electrs.enforceTor = true;
services.electrs.onionport = 50002;
services.electrs.nginxport = 50003;
services.electrs.high-memory = false;
services.tor.hiddenServices.electrs = {
map = [{
port = config.services.electrs.onionport; toPort = config.services.electrs.nginxport;