Files
nix-config/modules/home/shell/open-code.nix
2025-09-18 15:55:30 +05:30

21 lines
385 B
Nix

{
programs.opencode = {
enable = true;
settings = {
theme = "system";
provider = {
google = {
options = {
apiKey = "{file:/run/secrets/gemini_api_key}";
};
};
openrouter = {
options = {
apiKey = "{file:/run/secrets/open_router_api_key}";
};
};
};
};
};
}