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

14 lines
352 B
Nix

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