feat: add exa/context7 secrets, enable greedy cask upgrades
This commit is contained in:
+5
-1
@@ -9,6 +9,8 @@
|
||||
secrets = {
|
||||
ai_gateway_base_url = { };
|
||||
ai_gateway_api_key = { };
|
||||
exa_api_key = { };
|
||||
context7_api_key = { };
|
||||
};
|
||||
};
|
||||
|
||||
@@ -16,7 +18,9 @@
|
||||
# sops-nix secrets → env vars
|
||||
for pair in \
|
||||
AI_GATEWAY_BASE_URL:${config.sops.secrets.ai_gateway_base_url.path} \
|
||||
AI_GATEWAY_API_KEY:${config.sops.secrets.ai_gateway_api_key.path}
|
||||
AI_GATEWAY_API_KEY:${config.sops.secrets.ai_gateway_api_key.path} \
|
||||
EXA_API_KEY:${config.sops.secrets.exa_api_key.path} \
|
||||
CONTEXT7_API_KEY:${config.sops.secrets.context7_api_key.path}
|
||||
set -l parts (string split : $pair)
|
||||
if test -r $parts[2]
|
||||
set -gx $parts[1] (cat $parts[2])
|
||||
|
||||
Reference in New Issue
Block a user