Repository navigation
feat(nix): add OMLX inference server - #107
Merged
Merged
Conversation
furedea
added a commit
that referenced
this pull request
Sep 15, 2026
## Summary `darwin-rebuild switch` aborts right after #107 with: ``` Tapping jundot/omlx Error: Refusing to load formula jundot/omlx/omlx from untrusted tap jundot/omlx. ``` Homebrew refuses to load formulae from third-party taps until they are trusted, and nix-darwin 25.11 exposes no option for `brew trust`. Trusting it by hand leaves the trust store as manual state that a fresh machine would not reproduce. - restore the generated trust store from #11, which was dropped along with the moshi formula - scope the trust to the single formula rather than the whole tap, so only that formula is authorized to run Ruby (the principle ADR-0005 recorded) - declare both spellings, because Homebrew records the clone URL form for taps with a custom clone target - install the trust store into both `~/.homebrew` and `~/.config/homebrew` before Homebrew Bundle runs, since Bundle runs without `XDG_CONFIG_HOME` while interactive shells set it - replace the duplicated tap and formula literals with `let` bindings Generated trust store: ```json {"trustedformulae":["jundot/omlx/omlx","https://github.com/jundot/omlx/omlx"]} ``` ## Verification - `nixfmt --check`, `statix check`, `deadnix --fail` pass on `nix/darwin/default.nix` - `nix build --no-link .#darwinConfigurations.mbp.system` succeeds - confirmed the generated `homebrew-trust.json` content and its `install` invocation in the rendered `preActivation` script ## Notes Which spelling Homebrew matches against was not verified empirically, so both are declared. This trust store replaces the file currently on disk, dropping four stale entries (`antoniorodr/memo/memo`, `rjyo/moshi/moshi-hook`, `steipete/tap/remindctl`, `winebarrel/kasa/kasa`) and the tap-wide trust entry. None of those formulae remain in `homebrew.brews`, so `cleanup = "uninstall"` has already removed them. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.