Enable validatepegin in liquid module
This commit is contained in:
parent
b31a9d3cb3
commit
6005307129
@ -26,8 +26,6 @@ let
|
||||
|
||||
# Extra config options (from liquidd nixos service)
|
||||
${cfg.extraConfig}
|
||||
|
||||
validatepegin=0
|
||||
'';
|
||||
cmdlineOptions = concatMapStringsSep " " (arg: "'${arg}'") [
|
||||
"-datadir=${cfg.dataDir}"
|
||||
@ -186,6 +184,7 @@ in {
|
||||
chmod o-rw '${cfg.dataDir}/liquid.conf'
|
||||
chown '${cfg.user}:${cfg.group}' '${cfg.dataDir}/liquid.conf'
|
||||
echo "rpcpassword=$(cat /secrets/liquid-rpcpassword)" >> '${cfg.dataDir}/liquid.conf'
|
||||
echo "mainchainrpcpassword=$(cat /secrets/bitcoin-rpcpassword)" >> '${cfg.dataDir}/liquid.conf'
|
||||
'';
|
||||
serviceConfig = {
|
||||
Type = "simple";
|
||||
|
@ -144,6 +144,10 @@ in {
|
||||
services.liquidd.enable = cfg.modules == "all";
|
||||
services.liquidd.rpcuser = "liquidrpc";
|
||||
services.liquidd.prune = 1000;
|
||||
services.liquidd.extraConfig = "
|
||||
mainchainrpcuser=${config.services.bitcoind.rpcuser}
|
||||
mainchainrpcport=8332
|
||||
";
|
||||
|
||||
services.lightning-charge.enable = cfg.modules == "all";
|
||||
services.nanopos.enable = cfg.modules == "all";
|
||||
|
Loading…
Reference in New Issue
Block a user