aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorfrosty <gabriel@bwaaa.monster>2026-03-18 13:10:25 -0400
committerfrosty <gabriel@bwaaa.monster>2026-03-18 13:10:25 -0400
commit8f97edcb8563b36ce3184456afb9d333bf4ff850 (patch)
treed063b1684d8d6ebca83b29fd69e16ef619080b3e /README.md
parent7b21caccad038d080d48c39c7e23449a1ca34f9c (diff)
downloadomnisearch-8f97edcb8563b36ce3184456afb9d333bf4ff850.tar.gz
docs: reorder README
Diffstat (limited to 'README.md')
-rw-r--r--README.md55
1 files changed, 29 insertions, 26 deletions
diff --git a/README.md b/README.md
index 71ca9b9..294708c 100644
--- a/README.md
+++ b/README.md
@@ -16,32 +16,6 @@ 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
@@ -82,6 +56,35 @@ $ brew install libxml2 curl openssl pkg-config
# port install libxml2 curl openssl3 pkgconfig
```
+### 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;
+ }
+ ];
+ };
+ };
+}
+```
+
+
+
+
On macOS the build uses `pkg-config` to discover `libxml2`, `libcurl` and OpenSSL flags.
Install libbeaker: