From ad499808474f931776f00a6ec281f075f58cffdb Mon Sep 17 00:00:00 2001 From: Philipp Date: Wed, 11 Jun 2025 15:51:52 +0200 Subject: [PATCH] feature(librewolf): add suggestion search for SearXNG --- modules/home/apps/librewolf/default.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/modules/home/apps/librewolf/default.nix b/modules/home/apps/librewolf/default.nix index 175180c..146da80 100644 --- a/modules/home/apps/librewolf/default.nix +++ b/modules/home/apps/librewolf/default.nix @@ -21,6 +21,8 @@ let "signon.storeWhenAutocompleteOff" = true; "sidebar.verticalTabs" = true; "general.useragent.compatMode.firefox" = true; + "browser.search.suggest.enabled" = true; + "browser.urlbar.suggest.searches" = true; }; defaultExtensions = with inputs.firefox-addons.packages."x86_64-linux"; [ bitwarden @@ -36,7 +38,13 @@ let default = "SearXNG"; engines = { "SearXNG" = { - urls = [ { template = "https://search.stahl.sh/search?q={searchTerms}"; } ]; + urls = [ + { template = "https://search.stahl.sh/search?q={searchTerms}"; } + { + template = "https://search.stahl.sh/autocompleter?q={searchTerms}"; + type = "application/x-suggestions+json"; + } + ]; icon = "https://search.stahl.sh/static/themes/simple/img/favicon.png"; definedAliases = [ "@s" ]; };