Update nanopos
This commit is contained in:
parent
f58dab36d1
commit
b108198dc0
@ -69,7 +69,7 @@ in {
|
|||||||
serviceConfig =
|
serviceConfig =
|
||||||
{
|
{
|
||||||
EnvironmentFile = "/secrets/lightning-charge-api-token-for-nanopos";
|
EnvironmentFile = "/secrets/lightning-charge-api-token-for-nanopos";
|
||||||
ExecStart = "${pkgs.nanopos.package}/bin/nanopos -y ${cfg.itemsFile} -p ${toString cfg.port}";
|
ExecStart = "${pkgs.nanopos.package}/bin/nanopos -y ${cfg.itemsFile} -p ${toString cfg.port} --show-bolt11";
|
||||||
|
|
||||||
User = "nanopos";
|
User = "nanopos";
|
||||||
Restart = "on-failure";
|
Restart = "on-failure";
|
||||||
|
@ -6,10 +6,10 @@
|
|||||||
with pkgs;
|
with pkgs;
|
||||||
let
|
let
|
||||||
d1 = stdenv.mkDerivation {
|
d1 = stdenv.mkDerivation {
|
||||||
name = "nanotip-sources";
|
name = "nanopos-sources";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://registry.npmjs.org/nanopos/-/nanopos-0.1.3.tgz";
|
url = "https://registry.npmjs.org/nanopos/-/nanopos-0.1.4.tgz";
|
||||||
sha256 = "602d250190d4991b288ed7c493226bcbf03e73181f5d4d54d34334404fc06bb6";
|
sha256 = "294c4ac90027e5172408dadad9a62e0117459e4c60d4ab362b12190887c698ec";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ nodePackages.node2nix git ];
|
buildInputs = [ nodePackages.node2nix git ];
|
||||||
|
Loading…
Reference in New Issue
Block a user