all repos — searchix @ 6ae7560fb293ff0bc1dbd2cc490040ac2990266e

Search engine for NixOS, nix-darwin, home-manager and NUR users

..
-rw-r--r--
1106
importer.go
-rw-r--r--
2658
job.go
-rw-r--r--
9708
main.go
-rw-r--r--
1491
main_test.go
-rw-r--r--
4315
options.go
-rw-r--r--
8769
package.go
-rw-r--r--
2193
utils.go

Searchix

Build Status Service Status

A search tool to find options and packages in the NixOS ecosystem. Aims to be like search.nixos.org with more sources:

There is an instance running at searchix.ovh, which uses the following channels, with updates attempted daily:

  • nixos-options: nixos-unstable
  • nixpkgs: nixos-unstable
  • darwin: master branch
  • home-manager: master branch
  • nur: main branch

You can also run it yourself, if you’re feeling bold. It’s quite lightweight!

Status

Beta

Expect breakage. Search results are not expected to match the quality of search.nixos.org, the priority is more on having multiple sources in one location.

Feel free to report bugs at codeberg.

Motivation

I missed having a tool like search.nixos.org but for nix darwin and home manager[^1].

I wanted to contribute something to the nix community. 🩵

Also, I wanted to learn Go!

Goals

  • Lean/simple
  • Responsive (i.e. low latency)
  • Minimal JavaScript for progressive enhancement
  • Quickly switch between (options) sources with the same query
  • Querying “git” should give relevant results:
    • Options: programs.git.{enable,package}
    • Packages: git/gitMinimal/gitFull…

Future

Developing

See docs/developing.md

[^1]: It was only during development that I found Home Manager Option Search