Add logdir and tor.privatekeypath to lnd.conf
This will put the logs dir and tor priv keys directly in the datadir of lnd. Before this commit, they were stored in a .lnd dir inside the datadir.
This commit is contained in:
parent
5a2517b926
commit
700fdf6feb
@ -7,6 +7,7 @@ let
|
||||
cfg = config.services.lnd;
|
||||
configFile = pkgs.writeText "lnd.conf" ''
|
||||
datadir=${cfg.dataDir}
|
||||
logdir=${cfg.dataDir}/logs
|
||||
bitcoin.mainnet=1
|
||||
tlscertpath=/secrets/lnd_cert
|
||||
tlskeypath=/secrets/lnd_key
|
||||
@ -17,6 +18,7 @@ let
|
||||
tor.active=true
|
||||
tor.v3=true
|
||||
tor.streamisolation=true
|
||||
tor.privatekeypath=${cfg.dataDir}/v3_onion_private_key
|
||||
|
||||
bitcoind.rpcuser=${config.services.bitcoind.rpcuser}
|
||||
bitcoind.zmqpubrawblock=${config.services.bitcoind.zmqpubrawblock}
|
||||
|
Loading…
Reference in New Issue
Block a user