feat: setup opencode

This commit is contained in:
tux
2025-09-18 15:55:21 +05:30
parent 4c98e05ec8
commit 64b8c3a296
5 changed files with 30 additions and 2 deletions

View File

@@ -3,6 +3,7 @@
./lazygit.nix
./aichat.nix
./superfile.nix
./open-code.nix
];
programs = {

View File

@@ -0,0 +1,20 @@
{
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}";
};
};
};
};
};
}