diff --git a/.config/linux/system/module/common/Firefox.nix b/.config/linux/system/module/common/Firefox.nix index 47fb53a..fbc9707 100644 --- a/.config/linux/system/module/common/Firefox.nix +++ b/.config/linux/system/module/common/Firefox.nix @@ -1,6 +1,7 @@ { pkgs, ... }: { programs.firefox = { - enable = true; + enable = true; + package = pkgs.firefox-esr; languagePacks = [ "en-US" "ru" ]; autoConfig = '' // Bookmarks. @@ -76,6 +77,21 @@ install_url = "https://addons.mozilla.org/firefox/downloads/latest/gruvboxgruvboxgruvboxgruvboxgr/latest.xpi"; }; }; + SearchEngines = { + Default = "Whoogle"; + Add = [ + { + Alias = "w"; + Description = "Google search proxy."; + IconURL = "https://google.voronind.com/favicon.ico"; + Method = "POST"; + Name = "Whoogle"; + PostData = "q={searchTerms}"; + SuggestURLTemplate = "https://google.voronind.com/autocomplete?q={searchTerms}"; + URLTemplate = "https://google.voronind.com/search?q=%{searchTerms}"; + } + ]; + }; }; }; }