Add more search engines for firefox

This commit is contained in:
Evie Litherland-Smith 2024-02-02 06:43:23 +00:00
parent e5d09152c1
commit 63a2787959

View file

@ -1,5 +1,4 @@
{pkgs, ...}: {
stylix.targets.firefox.profileNames = ["default"];
programs.firefox = {
enable = true;
package = null; # Use system Firefox
@ -46,11 +45,28 @@
force = true;
order = ["DuckDuckGo"];
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" = {
urls = [{template = "https://mynixos.com/search?q={searchTerms}";}];
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
definedAliases = ["@mn"];
};
"Atlas SearXNG" = {
urls = [{template = "https://search.atlas.engineer/searxng/search?q={searchTerms}";}];
definedAliases = ["@a"];
};
};
};
};