feat(claude): add Claude Code settings for auto-permissions and conventional commits

Configure Claude Code to allow Edit, Write, and git commands without prompting,
and instruct it to use conventional commit format in git repositories.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2026-03-15 12:08:49 -04:00
parent 9d420e7bb9
commit 23897093b2
+14
View File
@@ -166,6 +166,20 @@
# Use kickstart.nvim configuration from flake
programs.neovim-kickstart.enable = true;
# Claude Code configuration
home.file.".claude/settings.json" = {
text = builtins.toJSON {
permissions = {
allow = [
"Edit"
"Write"
"Bash(git *)"
];
};
customInstructions = "When working in a git repository, always use conventional commits format (e.g., feat:, fix:, docs:, style:, refactor:, test:, chore:) for commit messages.";
};
};
programs.ssh = {
enable = true;
enableDefaultConfig = false;