Add openai creds
This commit is contained in:
parent
a8cca03c0e
commit
51042197ba
4 changed files with 9 additions and 0 deletions
|
|
@ -16,6 +16,7 @@
|
|||
environment = {
|
||||
OPENCLAW_HOME = "/root/.openclaw";
|
||||
};
|
||||
env_file = [ "/run/agenix/openai-api-key" ];
|
||||
command = [
|
||||
"sh" "-c"
|
||||
''
|
||||
|
|
|
|||
|
|
@ -86,6 +86,11 @@ in {
|
|||
file = ./secrets/coldairnetworks.age;
|
||||
owner = "root";
|
||||
};
|
||||
|
||||
openai-api-key = {
|
||||
file = ./secrets/openai-api-key.age;
|
||||
owner = "root";
|
||||
};
|
||||
};
|
||||
|
||||
environment.systemPackages = [
|
||||
|
|
|
|||
|
|
@ -34,4 +34,7 @@ in {
|
|||
# DATABASE_URL=<supabase postgres dsn>
|
||||
# BETTER_AUTH_SECRET=<secret>
|
||||
"./coldairnetworks.age".publicKeys = [mainframePublicKey];
|
||||
|
||||
# OPENAI_API_KEY
|
||||
"./openai-api-key.age".publicKeys = [mainframePublicKey];
|
||||
}
|
||||
|
|
|
|||
BIN
nixos/secrets/openai-api-key.age
Normal file
BIN
nixos/secrets/openai-api-key.age
Normal file
Binary file not shown.
Loading…
Reference in a new issue