Firefox : Switch to ESR and specify search engine.
This commit is contained in:
parent
3cc9393aca
commit
52391ab715
|
@ -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}";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Reference in a new issue