Skip to content

feat(hosts): add lightweight option for package management#345

Merged
stackptr merged 2 commits intomainfrom
corey/host-light-packages
Mar 10, 2026
Merged

feat(hosts): add lightweight option for package management#345
stackptr merged 2 commits intomainfrom
corey/host-light-packages

Conversation

@stackptr
Copy link
Owner

@stackptr stackptr commented Mar 10, 2026

Summary

Replaces hardcoded hostname checks (zeta, spore) with a declarative lightweight option in host definitions. Hosts can now opt-out of heavy packages (development tools, containers, javascript, graphite, jujutsu, file/media utilities) independently of their hostname.

Additionally, development.ai.enable has been moved out of the lightweight-gated block so AI packages are enabled on all hosts, including lightweight ones.

Changes

  • Added lightweight parameter to mkNixosHost and mkDarwinHost builder functions
  • Passed lightweight through home-manager's extraSpecialArgs
  • Replaced (hostname != "spore" && hostname != "zeta") check with (!lightweight) in home/default.nix
  • Set lightweight = true for zeta and spore host definitions
  • Moved development.ai.enable to the always-enabled block

🤖 Generated with Claude Code

stackptr and others added 2 commits March 9, 2026 21:25
… checks

Replace hardcoded hostname checks (zeta, spore) with a declarative lightweight
option in host definitions. This allows hosts to opt-out of heavy packages
(development tools, containers, javascript, graphite, jujutsu, file utilities,
media tools) independently of their hostname, making the configuration more
explicit and extensible.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Move development.ai.enable out of the lightweight-gated block so
lightweight hosts (zeta, spore) also get AI packages.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@stackptr stackptr merged commit 39a0d86 into main Mar 10, 2026
4 checks passed
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