2023-10-02 08:15:37 +01:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
"OpenStreetMap" = {
|
|
|
|
urls = [{
|
|
|
|
template = "https://www.openstreetmap.org/search?query={searchTerms}";
|
|
|
|
}];
|
|
|
|
definedAliases = [ "@om" ];
|
|
|
|
};
|
|
|
|
"NixOS Packages" = {
|
|
|
|
urls = [{
|
|
|
|
template =
|
|
|
|
"http://search.nixos.org/packages?channel=unstable&size=50&sort=relevance&type=packages&query={searchTerms}";
|
|
|
|
}];
|
|
|
|
icon =
|
|
|
|
"${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
|
|
|
definedAliases = [ "@np" ];
|
|
|
|
};
|
|
|
|
"NixOS Options" = {
|
|
|
|
urls = [{
|
|
|
|
template =
|
|
|
|
"http://search.nixos.org/options?channel=unstable&size=50&sort=relevance&type=packages&query={searchTerms}";
|
|
|
|
}];
|
|
|
|
icon =
|
|
|
|
"${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
|
|
|
definedAliases = [ "@no" ];
|
|
|
|
};
|
|
|
|
"Home Manager Options" = {
|
|
|
|
urls = [{
|
|
|
|
template =
|
|
|
|
"https://mipmip.github.io/home-manager-option-search/?query={searchTerms}";
|
|
|
|
}];
|
|
|
|
icon =
|
|
|
|
"${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
|
|
|
definedAliases = [ "@hm" ];
|
|
|
|
};
|
|
|
|
"PyPI packages" = {
|
|
|
|
urls = [{ template = "https://pypi.org/search/?q={searchTerms}"; }];
|
|
|
|
definedAliases = [ "@py" ];
|
|
|
|
};
|
2023-10-02 08:19:01 +01:00
|
|
|
"StackOverflow" = {
|
|
|
|
urls = [{ template = "https://stackoverflow.com/search?q={searchTerms}"; }];
|
|
|
|
definedAliases = [ "@so" ];
|
|
|
|
};
|
2023-10-02 08:15:37 +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 = [ "@nw" ];
|
|
|
|
};
|
|
|
|
"Arch Wiki" = {
|
|
|
|
urls = [{
|
|
|
|
template = "https://wiki.archlinux.org/index.php?search={searchTerms}";
|
|
|
|
}];
|
|
|
|
definedAliases = [ "@aw" ];
|
|
|
|
};
|
|
|
|
"GitHub" = {
|
|
|
|
urls = [{ template = "https://github.com/search?q={searchTerms}"; }];
|
|
|
|
definedAliases = [ "@gh" ];
|
|
|
|
};
|
|
|
|
"MyNixOS" = {
|
|
|
|
urls = [{ template = "https://mynixos.com/search?q={searchTerms}"; }];
|
|
|
|
icon =
|
|
|
|
"${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
|
|
|
definedAliases = [ "@mn" ];
|
|
|
|
};
|
|
|
|
}
|