1
1
Fork 1
mirror of https://github.com/oddlama/nix-config.git synced 2025-10-10 14:50:40 +02:00

chore: fix firefox search engine names

This commit is contained in:
oddlama 2025-04-14 21:55:46 +02:00
parent 4b83c3f9c2
commit 4adf28a442
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A

View file

@ -154,23 +154,18 @@ in
search = {
force = true;
default = "Kagi";
default = "kagi";
order = [
"Kagi"
"DuckDuckGo"
"Youtube"
"NixOS Options"
"Nix Packages"
"GitHub"
"HackerNews"
"kagi"
"ddg"
];
engines = {
"Bing".metaData.hidden = true;
"Amazon.com".metaData.hidden = true;
"Google".metaData.hidden = true;
"bing".metaData.hidden = true;
"amazondotcom-us".metaData.hidden = true;
"google".metaData.hidden = true;
"Kagi" = {
"kagi" = {
icon = "https://kagi.com/favicon.ico";
updateInterval = 24 * 60 * 60 * 1000;
definedAliases = [ "@k" ];
@ -186,116 +181,6 @@ in
}
];
};
"YouTube" = {
icon = "https://youtube.com/favicon.ico";
updateInterval = 24 * 60 * 60 * 1000;
definedAliases = [ "@yt" ];
urls = [
{
template = "https://www.youtube.com/results";
params = [
{
name = "search_query";
value = "{searchTerms}";
}
];
}
];
};
"Nix Packages" = {
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
definedAliases = [ "@np" ];
urls = [
{
template = "https://search.nixos.org/packages";
params = [
{
name = "type";
value = "packages";
}
{
name = "query";
value = "{searchTerms}";
}
];
}
];
};
"NixOS Options" = {
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
definedAliases = [ "@no" ];
urls = [
{
template = "https://search.nixos.org/options";
params = [
{
name = "channel";
value = "unstable";
}
{
name = "query";
value = "{searchTerms}";
}
];
}
];
};
"GitHub" = {
icon = "https://github.com/favicon.ico";
updateInterval = 24 * 60 * 60 * 1000;
definedAliases = [ "@gh" ];
urls = [
{
template = "https://github.com/search";
params = [
{
name = "q";
value = "{searchTerms}";
}
];
}
];
};
"Home Manager" = {
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
definedAliases = [ "@hm" ];
url = [
{
template = "https://mipmip.github.io/home-manager-option-search/";
params = [
{
name = "query";
value = "{searchTerms}";
}
];
}
];
};
"HackerNews" = {
icon = "https://hn.algolia.com/favicon.ico";
updateInterval = 24 * 60 * 60 * 1000;
definedAliases = [ "@hn" ];
url = [
{
template = "https://hn.algolia.com/";
params = [
{
name = "query";
value = "{searchTerms}";
}
];
}
];
};
};
};
};