Add openai creds

This commit is contained in:
Philip Peterson 2026-06-20 09:39:19 -07:00
parent a8cca03c0e
commit 51042197ba
4 changed files with 9 additions and 0 deletions

View file

@ -16,6 +16,7 @@
environment = { environment = {
OPENCLAW_HOME = "/root/.openclaw"; OPENCLAW_HOME = "/root/.openclaw";
}; };
env_file = [ "/run/agenix/openai-api-key" ];
command = [ command = [
"sh" "-c" "sh" "-c"
'' ''

View file

@ -86,6 +86,11 @@ in {
file = ./secrets/coldairnetworks.age; file = ./secrets/coldairnetworks.age;
owner = "root"; owner = "root";
}; };
openai-api-key = {
file = ./secrets/openai-api-key.age;
owner = "root";
};
}; };
environment.systemPackages = [ environment.systemPackages = [

View file

@ -34,4 +34,7 @@ in {
# DATABASE_URL=<supabase postgres dsn> # DATABASE_URL=<supabase postgres dsn>
# BETTER_AUTH_SECRET=<secret> # BETTER_AUTH_SECRET=<secret>
"./coldairnetworks.age".publicKeys = [mainframePublicKey]; "./coldairnetworks.age".publicKeys = [mainframePublicKey];
# OPENAI_API_KEY
"./openai-api-key.age".publicKeys = [mainframePublicKey];
} }

Binary file not shown.