File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 105
105
set -euo pipefail
106
106
{
107
107
cat ${ configFile }
108
- echo "JWT_SECRET=$(cat ${ config . nix-bitcoin . secretsDir } /lndhub.go-jwt_secret )"
108
+ echo "JWT_SECRET=$(cat ' ${ config . nix-bitcoin . secretsDir } /lndhub.go-jwt-secret' )"
109
109
echo "LND_MACAROON_HEX=$(${ xxd } -p -c 99999 /run/lnd/lndhub-go.macaroon)"
110
110
echo "LND_CERT_HEX=$(${ xxd } -p -c 99999 ${ lnd . certPath } )"
111
111
} > .env
@@ -126,8 +126,10 @@ in {
126
126
group = cfg . group ;
127
127
} ;
128
128
users . groups . ${ cfg . group } = { } ;
129
+
130
+ nix-bitcoin . secrets . "lndhub.go-jwt-secret" . user = cfg . user ;
129
131
nix-bitcoin . generateSecretsCmds . lndhub-go = ''
130
- makePasswordSecret lndhub.go-jwt_secret
132
+ makePasswordSecret lndhub.go-jwt-secret
131
133
'' ;
132
134
} ;
133
135
}
You can’t perform that action at this time.
0 commit comments