feat: add claude-code package

- Add Nix package for @anthropic-ai/claude-code (v2.1.59)
- Add package-lock.json with optional dependencies for all platforms
- Include update script for automated version updates
- Add module integration with custom package reference
- Rename claude shell alias to claude-custom

Refs: https://github.com/anthropics/claude-code
This commit is contained in:
2026-02-26 08:49:13 -05:00
parent ff5cd52dce
commit 8e1a2ad85a
6 changed files with 434 additions and 3 deletions

View File

@@ -16,6 +16,7 @@ in
config = mkIf cfg.enable {
programs.claude-code = {
enable = true;
package = pkgs.reichard.claude-code;
mcpServers = {
gopls = {
type = "stdio";
@@ -27,7 +28,7 @@ in
programs.bash = lib.mkIf config.programs.bash.enable {
shellAliases = {
claude = "default_claude_custom";
claude-custom = "default_claude_custom";
};
initExtra =