feat: Added nix flake for build.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user