From 9da0457f3cfc806171954380b6f984335881e6bf Mon Sep 17 00:00:00 2001 From: nevaforget Date: Wed, 14 Oct 2026 18:49:13 +0200 Subject: [PATCH] feat(browsers): search.moonarch.de as default search engine, list trimmed to DuckDuckGo and Wikipedia --- modules/browsers.nix | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/modules/browsers.nix b/modules/browsers.nix index 49e918b..bb19fe2 100644 --- a/modules/browsers.nix +++ b/modules/browsers.nix @@ -94,7 +94,35 @@ in ImproveSuggest = false; }; - SearchEngines.Default = "DuckDuckGo"; + # The own search instance, added and made the default. Default only sets + # where Firefox starts; switching in the search settings keeps working. + # No IconURL: the favicon sits behind the Authelia login, so Firefox + # could not fetch it when it applies the policy. + SearchEngines = { + Add = [ + { + Name = "moonarch"; + URLTemplate = "https://search.moonarch.de/search?q={searchTerms}"; + Method = "GET"; + Alias = "@m"; + } + ]; + Default = "moonarch"; + # Everything Firefox 157 ships for German locale and region, except + # DuckDuckGo and Wikipedia (de). Hidden from the list, not uninstalled; + # names as the search settings show them, a typo is silently ignored. + Remove = [ + "Bing" + "eBay" + "Ecosia" + "Google" + "LEO Eng-Deu" + "Perplexity" + "Reddit" + "Startpage" + "YouTube" + ]; + }; OfferToSaveLogins = false; # Startup and the home button both land on a blank page. StartPage