This commit is contained in:
sid 2026-05-18 20:40:56 +02:00
parent 79216e39e3
commit dc3ce0285c

View file

@ -1,10 +1,33 @@
{ lib, pkgs, ... }:
let
inherit (lib) getExe;
in
{
programs.opencode = {
enable = true;
enableMcpIntegration = true;
settings = {
model = "openrouter/qwen/qwen3-coder";
autoshare = 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"
"--"
];
};
};
};
}