add NixOS options to search engines

This commit is contained in:
Adithya 2023-11-26 21:44:03 +05:30
parent 847aabd13f
commit 3a9e01c7d0
Signed by: adtya
GPG key ID: 48FC9915FFD326D0

View file

@ -103,15 +103,25 @@
{
template = "https://search.nixos.org/packages";
params = [
{ name = "type"; value = "packages"; }
{ name = "query"; value = "{searchTerms}"; }
];
}
];
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
definedAliases = [ "@np" ];
};
"NixOS Options" = {
urls = [
{
template = "https://search.nixos.org/options";
params = [
{ name = "query"; value = "{searchTerms}"; }
];
}
];
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
definedAliases = [ "@no" ];
};
};
force = true;
};