mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-06 17:11:03 +01:00
21 lines
456 B
Nix
21 lines
456 B
Nix
{
|
|
programs.codex = {
|
|
enable = true;
|
|
settings = {
|
|
model = "gemma3:latest";
|
|
provider = "ollama";
|
|
providers = {
|
|
ollama = {
|
|
name = "Ollama";
|
|
baseURL = "http://localhost:11434/v1";
|
|
envKey = "OLLAMA_API_KEY";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
nmt.script = ''
|
|
assertFileExists home-files/.codex/config.yaml
|
|
assertFileContent home-files/.codex/config.yaml \
|
|
${./settings.yml}
|
|
'';
|
|
}
|