mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-09 10:31:06 +01:00
claude-code: added memories (claude.md) generation
This commit is contained in:
parent
17a1004948
commit
343e555657
6 changed files with 90 additions and 0 deletions
13
tests/modules/programs/claude-code/memory-from-source.nix
Normal file
13
tests/modules/programs/claude-code/memory-from-source.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
programs.claude-code = {
|
||||
enable = true;
|
||||
memory = {
|
||||
source = ./expected-memory.md;
|
||||
};
|
||||
};
|
||||
|
||||
nmt.script = ''
|
||||
assertFileExists home-files/.claude/CLAUDE.md
|
||||
assertFileContent home-files/.claude/CLAUDE.md ${./expected-memory.md}
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue