From e225ffe9972ef17beca7914811c03853eca3b603 Mon Sep 17 00:00:00 2001 From: Jet Date: Tue, 17 Mar 2026 04:15:20 -0700 Subject: [PATCH] fix: update to post to discord webhook route --- remote/cache-service/module.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/remote/cache-service/module.nix b/remote/cache-service/module.nix index 5b157ec..2bed358 100644 --- a/remote/cache-service/module.nix +++ b/remote/cache-service/module.nix @@ -100,7 +100,8 @@ in let idx = toString (i - 1); in ''export NOISEBELL_CACHE_WEBHOOK_${idx}_URL="${wh.url}"'' + lib.optionalString (wh.secretFile != null) - ''\nexport NOISEBELL_CACHE_WEBHOOK_${idx}_SECRET="$(cat ${wh.secretFile})"'' + '' + export NOISEBELL_CACHE_WEBHOOK_${idx}_SECRET="$(cat ${wh.secretFile})"'' ) cfg.outboundWebhooks; in { description = "Noisebell cache service";