claude-code: init module (#7685)

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
This commit is contained in:
Austin Horstman 2025-08-16 21:33:06 -05:00 committed by GitHub
parent 567312006a
commit 8b4ac14968
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 589 additions and 0 deletions

View file

@ -0,0 +1,22 @@
{
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"
];
}