add mcp
This commit is contained in:
parent
79216e39e3
commit
dc3ce0285c
1 changed files with 23 additions and 0 deletions
|
|
@ -1,10 +1,33 @@
|
||||||
|
{ lib, pkgs, ... }:
|
||||||
|
|
||||||
|
let
|
||||||
|
inherit (lib) getExe;
|
||||||
|
in
|
||||||
{
|
{
|
||||||
programs.opencode = {
|
programs.opencode = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
enableMcpIntegration = true;
|
||||||
settings = {
|
settings = {
|
||||||
model = "openrouter/qwen/qwen3-coder";
|
model = "openrouter/qwen/qwen3-coder";
|
||||||
autoshare = false;
|
autoshare = false;
|
||||||
autoupdate = false;
|
autoupdate = false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
programs.mcp = {
|
||||||
|
enable = true;
|
||||||
|
servers = {
|
||||||
|
fetcher-mcp = {
|
||||||
|
command = getExe pkgs.synix.fetcher-mcp;
|
||||||
|
};
|
||||||
|
nixos = {
|
||||||
|
command = getExe pkgs.nix;
|
||||||
|
args = [
|
||||||
|
"run"
|
||||||
|
"github:utensils/mcp-nixos"
|
||||||
|
"--"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue