feat: add codecompanion

Signed-off-by: Lander Van den Bulcke <landervandenbulcke@gmail.com>
This commit is contained in:
Lander Van den Bulcke 2025-11-20 18:05:17 +01:00
parent 03e25b6d01
commit c5f4baebab
Signed by: lander
GPG key ID: 0142722B4B0C536F
2 changed files with 36 additions and 0 deletions

View file

@ -21,6 +21,7 @@ let
coreModules = bareModules ++ [
self.myvimPlugins.autosession
self.myvimPlugins.blink-cmp
self.myvimPlugins.codecompanion
self.myvimPlugins.git
self.myvimPlugins.lang
self.myvimPlugins.lsp

35
plugins/codecompanion.nix Normal file
View file

@ -0,0 +1,35 @@
{ pkgs, ... }:
{
plugins.codecompanion = {
enable = true;
settings = {
display = {
action_palette = {
opts = {
show_default_prompt_library = true;
};
provider = "default";
};
chat = {
window = {
layout = "vertical";
opts = {
breakindent = true;
};
};
};
};
strategies = {
agent.adapter = "gemini_cli";
chat.adapter = "gemini_cli";
inline.adapter = "gemini_cli";
};
};
};
extraPackages = with pkgs; [
gemini-cli
];
}