karakeep: fix meilisearch secret

This commit is contained in:
ibizaman 2025-10-24 02:04:54 +02:00 committed by Pierre Penninckx
parent 6b7a6c6748
commit 5022bb5886

View file

@ -184,7 +184,7 @@ in
systemd.services.karakeep-init = {
script = lib.mkForce ((lib.shb.replaceSecrets {
userConfig = {
MEILI_MASTER_KEY = cfg.meilisearchMasterKey.result.path;
MEILI_MASTER_KEY.source = cfg.meilisearchMasterKey.result.path;
NEXTAUTH_SECRET.source = cfg.nextauthSecret.result.path;
} // lib.optionalAttrs cfg.sso.enable {
OAUTH_CLIENT_SECRET.source = cfg.sso.sharedSecret.result.path;