Skip to content

Daaboulex/models-nix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Models CLI (Nix)

Nix flake packaging for Models by arimxyer — a fast TUI and CLI for browsing AI models, benchmarks, and coding agents.

Rust License MIT Version 0.10.2 Platform

Upstream

This is a Nix packaging wrapper — not the original project. All credit for Models CLI goes to:

What Is This?

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

Installation

NixOS (Flake)

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 ];
      }];
    };
  };
}

Direct Run

nix run github:Daaboulex/models-nix

Profile Install

nix profile install github:Daaboulex/models-nix

Development

git clone https://github.com/Daaboulex/models-nix
cd models-nix
nix build
./result/bin/models --version

Updates

This repository uses automated daily checks via GitHub Actions to detect new upstream releases. When a new version is found:

  1. Source hash is recomputed from the release tarball
  2. Cargo dependency hash is recomputed via build error extraction
  3. Flake validation and test build must pass
  4. A pull request is created with full verification checklist
  5. Stale PRs (>14 days) are auto-closed; orphaned branches are deleted

License

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.

About

Models CLI packaged for NixOS — TUI for browsing AI models, benchmarks, and coding agents

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors