26 lines
512 B
Nix
26 lines
512 B
Nix
{ lib, config, ... }:
|
|
{
|
|
|
|
options.custom = {
|
|
opencode.enable = lib.mkEnableOption "enable opencode - LLM Harness";
|
|
};
|
|
|
|
config = lib.mkIf config.custom.opencode.enable {
|
|
programs.opencode = {
|
|
enable = true;
|
|
settings = {
|
|
plugin = [
|
|
"@dietrichgebert/ponytail"
|
|
];
|
|
mcp = {
|
|
n8n = {
|
|
type = "remote";
|
|
url = "https://n8n.joaoporta.com/mcp-server/http";
|
|
enabled = true;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|