mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-05 16:41:04 +01:00
22 lines
422 B
Nix
22 lines
422 B
Nix
{
|
|
programs.claude-code = {
|
|
enable = true;
|
|
package = null;
|
|
|
|
mcpServers = {
|
|
filesystem = {
|
|
type = "stdio";
|
|
command = "npx";
|
|
args = [
|
|
"-y"
|
|
"@modelcontextprotocol/server-filesystem"
|
|
"/tmp"
|
|
];
|
|
};
|
|
};
|
|
};
|
|
|
|
test.asserts.assertions.expected = [
|
|
"`programs.claude-code.package` cannot be null when `mcpServers` is configured"
|
|
];
|
|
}
|