added clightning backup

This commit is contained in:
naturallaw77 2024-07-31 12:14:47 -07:00
parent 8034847f3d
commit 83885ac6b2

View File

@ -46,15 +46,22 @@ experimental-offers
nix-bitcoin.onionServices.clightning.public = true; nix-bitcoin.onionServices.clightning.public = true;
services.clightning.replication = {
enable = true;
local.directory = "/run/media/Second_Drive/BTCEcoandBackup/clightning_db_backup";
encrypt = false;
};
## LND ## LND
services.lnd = { services.lnd = {
enable = true; enable = true;
tor.enforce = true; tor.enforce = true;
tor.proxy = true; tor.proxy = true;
extraConfig = '' extraConfig = ''
protocol.option-scid-alias=true protocol.option-scid-alias=true
''; '';
}; };