Allow operator to access liquid-cli

This commit is contained in:
Jonas Nick
2018-12-03 22:33:21 +00:00
parent 9ed888b9c2
commit 1927fda514
4 changed files with 14 additions and 2 deletions
+10 -2
View File
@@ -22,6 +22,13 @@ let
group = "nanopos";
permissions = "0440";
};
liquid-rpcpassword = {
text = secrets.liquidrpcpassword;
destDir = "/secrets/";
user = "liquid";
group = "liquid";
permissions = "0440";
};
in
{
bitcoin-node =
@@ -32,9 +39,10 @@ in
deployment.virtualbox.vcpu = 2; # number of cpus
deployment.virtualbox.headless = true;
deployment.keys = {
inherit bitcoin-rpcpassword lightning-charge-api-token;
} // (if (config.services.nanopos.enable) then { inherit lightning-charge-api-token-for-nanopos; } else { });
}
// (if (config.services.nanopos.enable) then { inherit lightning-charge-api-token-for-nanopos; } else { })
// (if (config.services.liquidd.enable) then { inherit liquid-rpcpassword; } else { });
};
}