1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-12-25 02:10:57 +01:00
home-manager/tests/modules/programs/claude-code/rules-dir.nix
Austin Horstman bb35f07cc9 tests/claude-code: add rules tests
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-12-19 13:19:35 -06:00

14 lines
322 B
Nix

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