Add more search engines for firefox
This commit is contained in:
parent
e5d09152c1
commit
63a2787959
|
@ -1,5 +1,4 @@
|
||||||
{pkgs, ...}: {
|
{pkgs, ...}: {
|
||||||
stylix.targets.firefox.profileNames = ["default"];
|
|
||||||
programs.firefox = {
|
programs.firefox = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = null; # Use system Firefox
|
package = null; # Use system Firefox
|
||||||
|
@ -46,11 +45,28 @@
|
||||||
force = true;
|
force = true;
|
||||||
order = ["DuckDuckGo"];
|
order = ["DuckDuckGo"];
|
||||||
engines = {
|
engines = {
|
||||||
|
"Wikipedia" = {
|
||||||
|
urls = [{template = "https://en.wikipedia.org/wiki/Special:Search?search={searchTerms}&go=Go&ns0=1";}];
|
||||||
|
definedAliases = ["@w"];
|
||||||
|
};
|
||||||
|
"Arch Wiki" = {
|
||||||
|
urls = [{template = "https://wiki.archlinux.org/?search={searchTerms}";}];
|
||||||
|
definedAliases = ["@aw"];
|
||||||
|
};
|
||||||
|
"NixOS Wiki" = {
|
||||||
|
urls = [{template = "https://nixos.wiki/index.php?search={searchTerms}";}];
|
||||||
|
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
||||||
|
definedAliases = ["@nw"];
|
||||||
|
};
|
||||||
"MyNixOS" = {
|
"MyNixOS" = {
|
||||||
urls = [{template = "https://mynixos.com/search?q={searchTerms}";}];
|
urls = [{template = "https://mynixos.com/search?q={searchTerms}";}];
|
||||||
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
||||||
definedAliases = ["@mn"];
|
definedAliases = ["@mn"];
|
||||||
};
|
};
|
||||||
|
"Atlas SearXNG" = {
|
||||||
|
urls = [{template = "https://search.atlas.engineer/searxng/search?q={searchTerms}";}];
|
||||||
|
definedAliases = ["@a"];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue