add global prompt for claude-code

This commit is contained in:
Yan Lin 2026-02-07 20:29:46 +01:00
parent 1b5bff2a07
commit 9b7af6f568
4 changed files with 17 additions and 42 deletions

View file

@ -151,7 +151,10 @@ in
{
config = {
# Install Claude Code package
home.packages = [ claudePackage ];
home.packages = [
claudePackage
pkgs.poppler-utils
];
# Create global settings file (with permissions included)
home.file.".claude/settings.json" = {
@ -160,7 +163,13 @@ in
# Create global memory file
home.file.".claude/CLAUDE.md" = {
text = "";
text = ''
## Environment
- System is managed with Nix (flakes) for global development runtime
- Projects may use flake + direnv for project-specific runtimes
- Common development tools (git, gh, ripgrep, jq, fzf, etc.) are globally available via nix
- PDF reading is supported (poppler-utils installed)
'';
};
};
}