mirror of
https://github.com/nix-community/home-manager.git
synced 2026-10-02 19:49:18 +00:00
Add a module for Crush, Charm's coding agent for the terminal. The module installs the package, writes the JSON configuration to $XDG_CONFIG_HOME/crush/crush.json, and manages Agent Skills either from an attribute set or from a directory. With `enableMcpIntegration` it also takes the MCP servers from the shared `programs.mcp` module. Co-authored-by: Rane <rane+git@junkyard.systems>
41 lines
791 B
JSON
41 lines
791 B
JSON
{
|
|
"$schema": "https://charm.land/crush.json",
|
|
"mcp": {
|
|
"context7": {
|
|
"headers": {
|
|
"CONTEXT7_API_KEY": "$CONTEXT7_API_KEY"
|
|
},
|
|
"type": "http",
|
|
"url": "https://mcp.context7.com/mcp"
|
|
},
|
|
"disabled-server": {
|
|
"args": [
|
|
"test"
|
|
],
|
|
"command": "echo",
|
|
"disabled": true,
|
|
"type": "stdio"
|
|
},
|
|
"everything": {
|
|
"args": [
|
|
"-y",
|
|
"@modelcontextprotocol/server-everything"
|
|
],
|
|
"command": "npx",
|
|
"env": {
|
|
"NPM_TOKEN": "$(cat /run/secrets/npm-token)"
|
|
},
|
|
"type": "stdio"
|
|
},
|
|
"filesystem": {
|
|
"args": [
|
|
"-y",
|
|
"@modelcontextprotocol/server-filesystem",
|
|
"/tmp"
|
|
],
|
|
"command": "npx",
|
|
"type": "stdio"
|
|
}
|
|
}
|
|
}
|