From bad1a9d3c30e8a9cde9457e646bc6b1388fdb2d6 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Tue, 13 Aug 2024 16:24:10 -0400 Subject: [PATCH] librewolf: Make mullvad the default search engine Might add some more search engines later, but Mullvad usually produces better results for less popular content, especially with topics such as PinePhone troubleshooting. --- home/librewolf.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/home/librewolf.nix b/home/librewolf.nix index 21649cfe..08362a57 100644 --- a/home/librewolf.nix +++ b/home/librewolf.nix @@ -6,6 +6,21 @@ package = pkgs.librewolf.override { cfg.speechSynthesisSupport = false; }; + profiles.default = { + search = { + force = true; + default = "Mullvad"; + privateDefault = "Mullvad"; + + engines = { + Mullvad = { + urls = [{ template = "https://leta.mullvad.net/?q={searchTerms}"; }]; + icon = "${pkgs.mullvad-vpn}/share/icons/hicolor/32x32/apps/mullvad-vpn.png"; + }; + }; + }; + }; + settings = { "middlemouse.paste" = false;