From 202f2cf234625754be40a70507552a52f6643860 Mon Sep 17 00:00:00 2001 From: Atridad Lahiji Date: Wed, 18 Mar 2026 00:20:39 -0600 Subject: [PATCH] Update librewolf.nix --- modules/librewolf.nix | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/modules/librewolf.nix b/modules/librewolf.nix index b56ca38..26d3a63 100644 --- a/modules/librewolf.nix +++ b/modules/librewolf.nix @@ -35,6 +35,7 @@ let "Bing" "Perplexity" "Wikipedia (en)" + "DuckDuckGo" ]; Add = [ { @@ -45,15 +46,6 @@ let Alias = "searx"; Description = "Searx (search.atri.dad)"; } - { - Name = "DuckDuckGo"; - URLTemplate = "https://duckduckgo.com/?q={searchTerms}"; - SuggestURLTemplate = "https://duckduckgo.com/ac/?q={searchTerms}&type=list"; - Method = "GET"; - IconURL = "https://duckduckgo.com/favicon.ico"; - Alias = "ddg"; - Description = "DuckDuckGo"; - } ]; }; @@ -70,6 +62,10 @@ let install_url = "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi"; installation_mode = "force_installed"; }; + "addon@darkreader.org" = { + install_url = "https://addons.mozilla.org/firefox/downloads/latest/darkreader/latest.xpi"; + installation_mode = "force_installed"; + }; }; Preferences = {