nixos/cloudflared: fix certFile path credential

Add missing string interpolation.
This commit is contained in:
Dennis Fölster
2025-05-01 12:26:13 +02:00
parent 4a2e28d5b6
commit 3216762046
@@ -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";