Files
nix-config/modules/home/shell/open-code.nix
2026-04-26 15:19:25 +05:30

23 lines
404 B
Nix

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