feat: Added nix flake for build.

This commit is contained in:
2026-10-13 17:00:16 -04:00
parent aace4b8f91
commit 94e63dab08
18 changed files with 4464 additions and 5 deletions
+12
View File
@@ -82,6 +82,18 @@ On macOS, use `install-launchd`.
## Hosting
Run it normally behind a reverse proxy (like nginx)
## Nix
The flake builds the vendored Beaker source in `vendor/beaker` and provides the
other build dependencies. Run `nix develop`
then `make` to build locally, or use `nix build` and `nix run` for a packaged
build. The packaged launcher runs with its bundled templates, static files and
locales, using the application's default settings. For a custom `config.ini`,
run the built binary (`result/libexec/omnisearch`) from a directory containing
`config.ini`, `templates/`, `static/` and `locales/` (for example, this checkout).
Docker also builds from `vendor/beaker`; non-Nix local builds still require
Beaker to be installed separately.
## Deploy with Docker Compose
You need Docker or Podman and Docker Compose installed on your system.