all repos — searchix @ 584d295c25697c19ffd369d22281f7d53a139f18

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

..
-rw-r--r--
1317
importer.go
-rw-r--r--
4350
main.go
-rw-r--r--
570
main_test.go
-rw-r--r--
4265
options.go
-rw-r--r--
6698
package.go
-rw-r--r--
1685
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