Only set dataDirReadableByGroup if cfg.high-memory is enabled
This commit is contained in:
parent
39ff39eb32
commit
742aef1e0f
@ -63,7 +63,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.
|
||||
# If you have more than 8GB memory, enable this option so electrs will
|
||||
# sync faster.
|
||||
# services.electrs.high-memory = true;
|
||||
|
||||
### LIQUIDD
|
||||
|
@ -46,7 +46,7 @@ in {
|
||||
services.bitcoind = {
|
||||
enable = true;
|
||||
listen = true;
|
||||
dataDirReadableByGroup = mkIf cfg.electrs.enable true;
|
||||
dataDirReadableByGroup = mkIf cfg.electrs.high-memory true;
|
||||
proxy = cfg.tor.client.socksListenAddress;
|
||||
enforceTor = true;
|
||||
port = 8333;
|
||||
|
Loading…
Reference in New Issue
Block a user