From 83885ac6b26e373f489b2f09343a66419736830f Mon Sep 17 00:00:00 2001 From: naturallaw77 Date: Wed, 31 Jul 2024 12:14:47 -0700 Subject: [PATCH] added clightning backup --- modules/bitcoinecosystem.nix | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/modules/bitcoinecosystem.nix b/modules/bitcoinecosystem.nix index c9634fa..4ef15a6 100755 --- a/modules/bitcoinecosystem.nix +++ b/modules/bitcoinecosystem.nix @@ -45,6 +45,13 @@ experimental-offers nix-bitcoin.onionServices.clightning.public = true; + + services.clightning.replication = { + enable = true; + local.directory = "/run/media/Second_Drive/BTCEcoandBackup/clightning_db_backup"; + encrypt = false; +}; + ## LND @@ -52,9 +59,9 @@ experimental-offers enable = true; tor.enforce = true; tor.proxy = true; - extraConfig = '' + extraConfig = '' - protocol.option-scid-alias=true + protocol.option-scid-alias=true ''; };