Only set dataDirReadableByGroup if cfg.high-memory is enabled
This commit is contained in:
parent
39ff39eb32
commit
742aef1e0f
2 changed files with 3 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue