blob: f7cfa29628ca898dff378ee50916eebf6b2b22aa (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
{
config,
inputs,
pkgs,
...
}:
{
xdg.configFile."/tenere/config.toml".text = ''
llm = "chatgpt"
[chatgpt]
openai_api_key = $(${pkgs.coreutils}/bin/cat ${config.age.secrets.openai_auth_token.path})
model = "gpt-4.1"
url = "https://api.openai.com/v1/chat/completions"
'';
}
|