Allow operator to access liquid-cli
This commit is contained in:
parent
9ed888b9c2
commit
1927fda514
4 changed files with 14 additions and 2 deletions
|
|
@ -185,6 +185,7 @@ in {
|
|||
cp '${configFile}' '${cfg.dataDir}/liquid.conf'
|
||||
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'
|
||||
'';
|
||||
serviceConfig = {
|
||||
Type = "simple";
|
||||
|
|
|
|||
|
|
@ -118,6 +118,8 @@ in {
|
|||
};
|
||||
|
||||
services.liquidd.enable = cfg.modules == "all";
|
||||
services.liquidd.rpcuser = "liquidrpc";
|
||||
|
||||
services.lightning-charge.enable = cfg.modules == "all";
|
||||
services.nanopos.enable = cfg.modules == "all";
|
||||
services.nixbitcoin-webindex.enable = cfg.modules == "all";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue