aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorbeeb5k <beebeeb5k@gmail.com>2026-03-18 21:50:05 +0530
committerfrosty <gabriel@bwaaa.monster>2026-03-18 13:08:19 -0400
commit7b21caccad038d080d48c39c7e23449a1ca34f9c (patch)
tree149070c2c2ab25a463ab8fa615055e908c285850 /README.md
parent6df9239f84c6af39cbc0f7ae795d1ccc7bc84c2a (diff)
downloadomnisearch-7b21caccad038d080d48c39c7e23449a1ca34f9c.tar.gz
feat: add nix support
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 fc3faa5..71ca9b9 100644
--- a/README.md
+++ b/README.md
@@ -16,6 +16,32 @@ Create a config.ini, there is an example included in the root. Or if you install
## First Setup
Depending on your system, you may first need to install libcurl and libxml2.
+### 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;
+ }
+ ];
+ };
+ };
+}
+```
+
### Arch Linux
```
# pacman -S libxml2 libcurl