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:
@@ -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 =
|
||||
|
||||
Reference in New Issue
Block a user