all repos — searchix @ de987806cd030e85a22e11b35835a3524068adb7

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

..
-rw-r--r--
1815
dev.go
-rw-r--r--
1120
error.go
-rw-r--r--
497
headers.go
-rw-r--r--
1519
logging.go
-rw-r--r--
11504
mux.go
-rw-r--r--
2151
server.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