1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-12-05 16:41:04 +01:00
home-manager/tests/modules/programs/claude-code/assertion.nix
Austin Horstman 8b4ac14968
claude-code: init module (#7685)
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-08-16 21:33:06 -05:00

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"
];
}