We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a588d9e commit 7c92322Copy full SHA for 7c92322
modules/lndhub-go.nix
@@ -105,7 +105,7 @@ in {
105
set -euo pipefail
106
{
107
cat ${configFile}
108
- echo "JWT_SECRET=$(cat ${config.nix-bitcoin.secretsDir}/lndhub.go-jwt_secret)"
+ echo "JWT_SECRET=$(cat '${config.nix-bitcoin.secretsDir}/lndhub.go-jwt-secret')"
109
echo "LND_MACAROON_HEX=$(${xxd} -p -c 99999 /run/lnd/lndhub-go.macaroon)"
110
echo "LND_CERT_HEX=$(${xxd} -p -c 99999 ${lnd.certPath})"
111
} > .env
@@ -126,8 +126,10 @@ in {
126
group = cfg.group;
127
};
128
users.groups.${cfg.group} = {};
129
+
130
+ nix-bitcoin.secrets."lndhub.go-jwt-secret".user = cfg.user;
131
nix-bitcoin.generateSecretsCmds.lndhub-go = ''
- makePasswordSecret lndhub.go-jwt_secret
132
+ makePasswordSecret lndhub.go-jwt-secret
133
'';
134
135
}
0 commit comments