This repository has been archived on 2024-07-03. You can view files and clone it, but cannot push or open issues or pull requests.
home-manager/programs/firefox/search-engines/default.nix

33 lines
1.3 KiB
Nix
Raw Normal View History

2024-05-12 10:49:56 +01:00
pkgs: {
"OpenStreetMap" = {
urls = [{template = "https://www.openstreetmap.org/search?query={searchTerms}";}];
definedAliases = ["@osm" "@openstreetmap"];
2024-05-12 10:49:56 +01:00
};
"NixOS Wiki" = {
urls = [{template = "https://nixos.wiki/index.php?search={searchTerms}";}];
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
definedAliases = ["@nix" "@nixos" "@nixoswiki"];
2024-05-12 10:49:56 +01:00
};
"Arch Wiki" = {
urls = [{template = "https://wiki.archlinux.org/index.php?search={searchTerms}";}];
definedAliases = ["@aw" "@arch" "@archwiki"];
2024-05-12 10:49:56 +01:00
};
"GitHub" = {
urls = [{template = "https://github.com/search?q={searchTerms}";}];
definedAliases = ["@gh" "@git" "@github"];
};
"FlatHub" = {
url = [{template = "https://flathub.org/apps/search?q={searchTerms}";}];
definedAliases = ["@flat" "@fthub" "@flathub"];
2024-05-12 10:49:56 +01:00
};
"NixOS Packages" = {
urls = [{template = "http://search.nixos.org/packages?channel=unstable&size=50&sort=relevance&type=packages&query={searchTerms}";}];
2024-05-12 10:49:56 +01:00
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
definedAliases = ["@nixpkgs"];
};
"PyPI packages" = {
urls = [{template = "https://pypi.org/search/?q={searchTerms}";}];
definedAliases = ["@pypi"];
2024-05-12 10:49:56 +01:00
};
}