Skip to content

feat(nix): add OMLX inference server - #107

Merged
furedea merged 1 commit into
mainfrom
feat/add-omlx
Sep 15, 2026
Merged

furedea merged 1 commit into
mainfrom
feat/add-omlx

Conversation

@furedea

@furedea furedea commented Sep 15, 2026

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI lite review requested due to automatic review settings September 15, 2026 15:21

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@furedea
furedea merged commit 3794a77 into main Sep 15, 2026
11 checks passed
@furedea
furedea deleted the feat/add-omlx branch September 15, 2026 16:42
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)
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.

2 participants