spark-wallet: add regtest support

This commit is contained in:
Erik Arvstedt
2020-10-16 18:01:50 +02:00
parent 47d611b5ef
commit 937aee0062
2 changed files with 9 additions and 11 deletions
+1 -8
View File
@@ -15,7 +15,7 @@ let
publicURL="--public-url http://$(cat /var/lib/onion-chef/spark-wallet/spark-wallet)"
''}
exec ${pkgs.nix-bitcoin.spark-wallet}/bin/spark-wallet \
--ln-path '${cfg.ln-path}' \
--ln-path '${config.services.clightning.networkDir}' \
--host ${cfg.host} \
--config '${config.nix-bitcoin.secretsDir}/spark-wallet-login' \
${optionalString cfg.enforceTor torRateProvider} \
@@ -36,13 +36,6 @@ in {
default = "localhost";
description = "http(s) server listen address.";
};
ln-path = mkOption {
type = types.path;
default = "${config.services.clightning.dataDir}/bitcoin";
description = ''
"The path of the clightning network data directory.";
'';
};
onion-service = mkOption {
type = types.bool;
default = false;