From cedc64ab9b141606923e95633931f2d5fe0aa08b Mon Sep 17 00:00:00 2001 From: ediblerope Date: Sat, 28 Mar 2026 12:06:38 +0000 Subject: [PATCH] --- services/omnisearch.nix | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/services/omnisearch.nix b/services/omnisearch.nix index 7048ba9..ac72e38 100644 --- a/services/omnisearch.nix +++ b/services/omnisearch.nix @@ -1,8 +1,19 @@ -# services/omnisearch.nix — add 'inputs' to the args -{ config, pkgs, lib, inputs, ... }: { - # replace your fakeSelf tarball fetch with: - services.omnisearch = { - package = inputs.omnisearch.packages.${pkgs.stdenv.hostPlatform.system}.default; + 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; + } + ]; + }; }; } \ No newline at end of file