mirror of
https://git.gay/xqtc/nixos-config
synced 2024-11-25 20:53:54 +01:00
Add Hackage and crates.io to search engines
This commit is contained in:
parent
db82e5f85f
commit
c226503b70
|
@ -179,6 +179,26 @@ with inputs; {
|
|||
updateInterval = 24 * 60 * 60 * 1000; # every day
|
||||
definedAliases = ["@ghu"];
|
||||
};
|
||||
"Hackage" = {
|
||||
urls = [
|
||||
{
|
||||
template = "https://hackage.haskell.org/packages/browse?terms={searchTerms}";
|
||||
}
|
||||
];
|
||||
iconUpdateURL = "https://hackage.haskell.org/static/favicon.png";
|
||||
updateInterval = 24 * 60 * 60 * 1000; # every day
|
||||
definedAliases = ["@hak"];
|
||||
};
|
||||
"crates.io" = {
|
||||
urls = [
|
||||
{
|
||||
template = "https://crates.io/search?q={searchTerms}";
|
||||
}
|
||||
];
|
||||
iconUpdateURL = "https://crates.io/favicon.ico";
|
||||
updateInterval = 24 * 60 * 60 * 1000; # every day
|
||||
definedAliases = ["@cio"];
|
||||
};
|
||||
|
||||
"Bing".metaData.hidden = true;
|
||||
"Google".metaData.hidden = true;
|
||||
|
|
Loading…
Reference in a new issue