An open API service indexing awesome lists of open source software.

https://github.com/unode/nixs

A quick nix command-line search using the same strategy as https://nixos.org/nixos/packages.html
https://github.com/unode/nixs

Last synced: 16 days ago
JSON representation

A quick nix command-line search using the same strategy as https://nixos.org/nixos/packages.html

Awesome Lists containing this project

README

          

# nixs

nixs for *nix search* is a quick command-line tool for searching nix/nixos packages using the same strategy and files as [the online package search](https://nixos.org/nixos/packages.html).

## Usage

Add nixs to your path and run:

nixs

such as:

nixs disn

and you should see something like:

Attribute name Package name Description
disnix disnix-0.6.1 A Nix-based distributed service deployment tool
disnixos disnixos-0.5 Provides complementary NixOS infrastructure deployment to Disnix

## Cache

### Force update

This script uses the package cache from the above URL.
The cache is re-downloaded automatically if the file is older than 6 hours.

If for some reason you still need to force an update you can do so with:

nixs -u

### Ignore age

If on the other hand you don't want to automatically update every 6 hours or if you are working offline after having downloaded the cache you can use:

nixs -i

to ignore the age of the cache.