aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorspl3g <spleefer6@gmail.com>2026-03-21 17:37:15 +0300
committerfrosty <gabriel@bwaaa.monster>2026-03-21 11:39:16 -0400
commit8229aaa489c8e9cda0ce1ce0997006df712f5123 (patch)
tree7b5e7a207c6e187f9a075439263fc853f0da1f31 /README.md
parentddf39b56505a3a83bf888e245068160b4b5f24bd (diff)
downloadomnisearch-8229aaa489c8e9cda0ce1ce0997006df712f5123.tar.gz
feat: bring back nix support and fix the beaker-src
Co-authored-by: beeb5k <beebeeb5k@gmail.com>
Diffstat (limited to 'README.md')
-rw-r--r--README.md26
1 files changed, 26 insertions, 0 deletions
diff --git a/README.md b/README.md
index 05fa0ed..6e7a176 100644
--- a/README.md
+++ b/README.md
@@ -47,6 +47,32 @@ On Alpine, `shadow` is needed for the user creation process during the install.
# xbps-install -S libxml2-devel libcurl-devel
```
+### NixOS
+Add the flake to your inputs and import the module. That is all you need.
+Here's an example of using the modules in a flake:
+```
+# flake.nix
+{
+ inputs = {
+ omnisearch = {
+ url = "git+https://git.bwaaa.monster/omnisearch";
+ inputs.nixpkgs.follows = "nixpkgs";
+ };
+ };
+
+ outputs = { self, nixpkgs, omnisearch, ... }: {
+ nixosConfigurations.mySystem = nixpkgs.lib.nixosSystem {
+ modules = [
+ omnisearch.nixosModules.default
+ {
+ services.omnisearch.enable = true;
+ }
+ ];
+ };
+ };
+}
+```
+
### macOS (Homebrew)
```
$ brew install libxml2 curl openssl pkg-config