hearthworks: merge homelab stacks + move flake to nix/ + packages scaffold #2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "monorepo"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imports homelab history (agents branch, deployed on Unraid) at the repo root, moves the NixOS/Home-Manager flake under nix/, scaffolds the packages/ sub-monorepo. Merge with a MERGE COMMIT (not squash/rebase — squash would drop homelab's 354 commits from main's history).
- Update CLAUDE.md: config path, dbdata path, shared data on FUSE, service/container naming rules, healthcheck format, shared DB docs, required variable syntax, inline examples - Add openclaw stack - Convert contextforge to postgres, add init script - Rename immich services (server/ml/cache), add IMMICH_MACHINE_LEARNING_URL - Strip CMD prefix from all healthcheck arrays - Apply ${VAR:?required} to all secrets across all stacks- Move dedicated clickhouse instance from stacks/clickhouse/ into tensorzero stack - Rename postgres service from 'db' to 'postgres' (container: tensorzero_postgres) - Add clickhouse service with container name tensorzero_clickhouse - Update all connection URLs and depends_on references - Remove external clickhouse network (now uses internal 'net') - Update volume paths to follow convention: - postgres: /mnt/cache/dbdata/postgres/tensorzero/data - clickhouse: /mnt/cache/dbdata/clickhouse/tensorzero/{data,log} - Update compose.override.yaml with labels for new services BREAKING CHANGE: External clickhouse stack removed. Services now internal to tensorzero stack with scoped container names.- archlinux:base-devel with uv, npm, rustup, go, gh, khal, vdirsyncer - grouped pacman packages by category - override tool dirs to $HOME/.local/share/{toolchain} - add OPENCODE_API_KEY env var - switch from upstream image to local buildImplement from_api(), to_datasheet(), to_datasheet_model_parameters() on ModelsDevClient with conversion logic between models.dev and Bifrost formats. Add unit tests under tests/clients/test_models_dev.py using a live-data fixture (3 providers, 9 models) with httpx2 mocked. Conversion notes: - models.dev cost per million tokens → Bifrost per-token cost (/1_000_000) - limit.context → max_input_tokens, limit.output → max_{output_}tokens - Modalities infer mode: 'image' in input → image_generation, else chat - Capability flags mapped directly where available- Add GET /health endpoint returning {"status":"ok"} - Update Docker healthcheck to use /health - Add framework.pricing block to bifrost config.json with pricing_url and model_parameters_url pointing to ext-model-params:8000- new hosts/{family,gamer,laptop}; wsl module moved to roles/wsl.nix - agents/base: omp-bin plus llm-agents (bernstein, gnhf, oh-my-opencode, opencode, zaly) - docker: bx distrobox container with self-healing wrapper - flake: hoist nixConfig into attrs, numtide cache; omp-bin 17.2.12 - wsl: startMenuLaunchers; bump flake.lock