From df784b341e3bc23147a71c7c98aa048510b99b22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C8=98tefan=20D=2E=20Mih=C4=83il=C4=83?= Date: Wed, 7 Aug 2019 13:03:34 +0200 Subject: [PATCH] Expose electrs high-memory option in configuration.nix --- configuration.nix | 2 ++ modules/nix-bitcoin.nix | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/configuration.nix b/configuration.nix index dfb3f9d..5bbed3b 100644 --- a/configuration.nix +++ b/configuration.nix @@ -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 diff --git a/modules/nix-bitcoin.nix b/modules/nix-bitcoin.nix index b3def0b..530a347 100644 --- a/modules/nix-bitcoin.nix +++ b/modules/nix-bitcoin.nix @@ -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;