Expose electrs high-memory option in configuration.nix
This commit is contained in:
parent
edf6b9fc07
commit
df784b341e
@ -41,6 +41,8 @@
|
|||||||
# Electrum Server in Rust. Only enable this if hardware wallets are
|
# Electrum Server in Rust. Only enable this if hardware wallets are
|
||||||
# disabled.
|
# disabled.
|
||||||
# services.electrs.enable = true;
|
# services.electrs.enable = true;
|
||||||
|
# If you have ≥8GB memory, enable this option so electrs will sync faster.
|
||||||
|
# services.electrs.high-memory = true;
|
||||||
|
|
||||||
### LIQUIDD
|
### LIQUIDD
|
||||||
# Enable this module to use Liquid, a sidechain for an inter-exchange
|
# Enable this module to use Liquid, a sidechain for an inter-exchange
|
||||||
|
@ -161,7 +161,6 @@ in {
|
|||||||
services.electrs.enforceTor = true;
|
services.electrs.enforceTor = true;
|
||||||
services.electrs.onionport = 50002;
|
services.electrs.onionport = 50002;
|
||||||
services.electrs.nginxport = 50003;
|
services.electrs.nginxport = 50003;
|
||||||
services.electrs.high-memory = false;
|
|
||||||
services.tor.hiddenServices.electrs = {
|
services.tor.hiddenServices.electrs = {
|
||||||
map = [{
|
map = [{
|
||||||
port = config.services.electrs.onionport; toPort = config.services.electrs.nginxport;
|
port = config.services.electrs.onionport; toPort = config.services.electrs.nginxport;
|
||||||
|
Loading…
Reference in New Issue
Block a user