Nix flake packaging for Models by arimxyer — a fast TUI and CLI for browsing AI models, benchmarks, and coding agents.
This is a Nix packaging wrapper — not the original project. All credit for Models CLI goes to:
- Author: arimxyer
- Repository: github.com/arimxyer/models
- License: MIT
A Nix flake that builds Models from source with Level C security:
- Package integrity — SRI hashes for source and cargo dependencies, verified on every build
- CI security — pinned GitHub Actions (full SHA, not tags), minimal permissions, build-gated PRs
- Upstream trust — daily automated version detection, hash recomputation, and test build before PR creation
- Stale cleanup — auto-close update PRs open >14 days, delete orphaned branches
Models provides:
- Models Tab — Browse 3,000+ AI models across 85+ providers
- Benchmarks Tab — Compare performance across 15+ benchmarks
- Agents Tab — Track AI coding assistants with version detection
Add as a flake input and use the overlay:
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
models-nix = {
url = "github:Daaboulex/models-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { nixpkgs, models-nix, ... }: {
nixosConfigurations.myhost = nixpkgs.lib.nixosSystem {
modules = [{
nixpkgs.overlays = [ models-nix.overlays.default ];
environment.systemPackages = [ pkgs.models-cli ];
}];
};
};
}nix run github:Daaboulex/models-nixnix profile install github:Daaboulex/models-nixgit clone https://github.com/Daaboulex/models-nix
cd models-nix
nix build
./result/bin/models --versionThis repository uses automated daily checks via GitHub Actions to detect new upstream releases. When a new version is found:
- Source hash is recomputed from the release tarball
- Cargo dependency hash is recomputed via build error extraction
- Flake validation and test build must pass
- A pull request is created with full verification checklist
- Stale PRs (>14 days) are auto-closed; orphaned branches are deleted
This Nix packaging flake is provided as-is and carries no additional license terms.
The upstream Models project by arimxyer is licensed under the MIT License. See the upstream LICENSE file for full terms.