1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-12-04 08:01:02 +01:00
home-manager/tests/modules/programs/claude-code/agents-dir.nix

14 lines
332 B
Nix

{
programs.claude-code = {
enable = true;
agentsDir = ./agents;
};
nmt.script = ''
assertFileExists home-files/.claude/agents/test-agent.md
assertLinkExists home-files/.claude/agents/test-agent.md
assertFileContent \
home-files/.claude/agents/test-agent.md \
${./agents/test-agent.md}
'';
}