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
|
# 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.
|
# If you have more than 8GB memory, enable this option so electrs will
|
||||||
|
# sync faster.
|
||||||
# services.electrs.high-memory = true;
|
# services.electrs.high-memory = true;
|
||||||
|
|
||||||
### LIQUIDD
|
### LIQUIDD
|
||||||
|
@ -46,7 +46,7 @@ in {
|
|||||||
services.bitcoind = {
|
services.bitcoind = {
|
||||||
enable = true;
|
enable = true;
|
||||||
listen = true;
|
listen = true;
|
||||||
dataDirReadableByGroup = mkIf cfg.electrs.enable true;
|
dataDirReadableByGroup = mkIf cfg.electrs.high-memory true;
|
||||||
proxy = cfg.tor.client.socksListenAddress;
|
proxy = cfg.tor.client.socksListenAddress;
|
||||||
enforceTor = true;
|
enforceTor = true;
|
||||||
port = 8333;
|
port = 8333;
|
||||||
|
Loading…
Reference in New Issue
Block a user