nixos/cloudflared: fix certFile path credential
Add missing string interpolation.
This commit is contained in:
@@ -369,7 +369,7 @@ in
|
||||
RuntimeDirectoryMode = "0400";
|
||||
LoadCredential = [
|
||||
"credentials.json:${tunnel.credentialsFile}"
|
||||
] ++ (lib.optional (certFile != null) "cert.pem:certFile");
|
||||
] ++ (lib.optional (certFile != null) "cert.pem:${certFile}");
|
||||
|
||||
ExecStart = "${cfg.package}/bin/cloudflared tunnel --config=${mkConfigFile} --no-autoupdate run";
|
||||
Restart = "on-failure";
|
||||
|
||||
Reference in New Issue
Block a user