Skip to content

fix: remove duplicate claude-code install, increase VM disk to 20GB#19

Merged
ethannortharc merged 1 commit intomainfrom
fix/disk-size-and-dedupe-claude
Mar 11, 2026
Merged

fix: remove duplicate claude-code install, increase VM disk to 20GB#19
ethannortharc merged 1 commit intomainfrom
fix/disk-size-and-dedupe-claude

Conversation

@ethannortharc
Copy link
Copy Markdown
Owner

Summary

  • Remove claude-code from ai-code.nix set — the nixpkgs package bundles sharp/libvips (~500MB), causing "No space left on device" during nixos-rebuild. The npm install in install_latest_claude_code() already provides the latest version.
  • Increase default VM disk from 10GB to 20GB on both Incus (config device override root size=20GiB) and Lima (disk: "20GiB" in YAML)
  • Also removes claude-code from the Ubuntu nix package mapping for consistency

Test plan

  • cargo build + cargo test — all 67 tests pass
  • Linux: devbox destroy --name test2 && devbox create --name test2 --tools rust,go
  • macOS: devbox destroy --name test2 && devbox create --name test2 --tools rust,go

🤖 Generated with Claude Code

Two fixes for the "No space left on device" error during nixos-rebuild:

1. Remove claude-code from ai-code nix set — the nixpkgs package bundles
   sharp/libvips (~500MB) and is redundant since we already install the
   latest version via npm in install_latest_claude_code(). This eliminates
   the duplicate install.

2. Increase default VM disk from 10GB to 20GB on both Incus and Lima.
   NixOS with dev tools needs more space than the default allows.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@ethannortharc ethannortharc merged commit b05acfb into main Mar 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant