Add custom claude-cli package to bypass npm registry restrictions

Create custom Nix package for Claude Code CLI that fetches directly from
Anthropic's Google Cloud Storage distribution instead of npm registry,
working around Block's Cloudflare Teams dependency confusion protection.

- Add claude-cli package with platform-specific binaries
- Include comprehensive README with update instructions
- Enable development role on work machine
- Switch from unstable.claude-code to custom.claude-cli
- Add google-cloud-sdk to work machine packages
This commit is contained in:
2025-11-24 12:05:39 -08:00
parent fc9474a7c9
commit 5451e75480
5 changed files with 157 additions and 1 deletions

View File

@@ -14,6 +14,7 @@ in
# System packages
home.packages = with pkgs; [
autoraise
google-cloud-sdk
];
# Note: ghostty installed via Homebrew (managed outside of nix)
@@ -222,6 +223,7 @@ in
home.roles = {
base.enable = true;
development.enable = true;
};
imports = [

View File

@@ -22,12 +22,12 @@ in
config = mkIf cfg.enable {
home.packages = [
pkgs.unstable.claude-code
pkgs.unstable.claude-code-router
pkgs.unstable.codex
# Custom packages
pkgs.custom.tea-rbw
pkgs.custom.claude-cli
];
# Install Claude Code humanlayer command and agent plugins