mirror of
https://github.com/oddlama/nix-config.git
synced 2025-10-10 14:50:40 +02:00
feat: add kagi search engine
This commit is contained in:
parent
5c7f48dfce
commit
7042ea9ecc
1 changed files with 41 additions and 2 deletions
|
@ -74,6 +74,8 @@ in {
|
|||
"toolkit.legacyUserProfileCustomizations.stylesheets" = true;
|
||||
# Why the fuck can my search window make bell sounds
|
||||
"accessibility.typeaheadfind.enablesound" = false;
|
||||
# Why the fuck can my search window make bell sounds
|
||||
"general.autoScroll" = true;
|
||||
|
||||
# Hardware acceleration
|
||||
# See https://github.com/elFarto/nvidia-vaapi-driver?tab=readme-ov-file#firefox
|
||||
|
@ -155,14 +157,31 @@ in {
|
|||
|
||||
search = {
|
||||
force = true;
|
||||
default = "DuckDuckGo";
|
||||
order = ["DuckDuckGo" "Youtube" "Nix Packages" "GitHub" "HackerNews"];
|
||||
default = "Kagi";
|
||||
order = ["Kagi" "DuckDuckGo" "Youtube" "NixOS Options" "Nix Packages" "GitHub" "HackerNews"];
|
||||
|
||||
engines = {
|
||||
"Bing".metaData.hidden = true;
|
||||
"Amazon.com".metaData.hidden = true;
|
||||
"Google".metaData.hidden = true;
|
||||
|
||||
"Kagi" = {
|
||||
iconUpdateURL = "https://kagi.com/favicon.ico";
|
||||
updateInterval = 24 * 60 * 60 * 1000;
|
||||
definedAliases = ["@k"];
|
||||
urls = [
|
||||
{
|
||||
template = "https://kagi.com/search";
|
||||
params = [
|
||||
{
|
||||
name = "q";
|
||||
value = "{searchTerms}";
|
||||
}
|
||||
];
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
"YouTube" = {
|
||||
iconUpdateURL = "https://youtube.com/favicon.ico";
|
||||
updateInterval = 24 * 60 * 60 * 1000;
|
||||
|
@ -200,6 +219,26 @@ in {
|
|||
];
|
||||
};
|
||||
|
||||
"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" = {
|
||||
iconUpdateURL = "https://github.com/favicon.ico";
|
||||
updateInterval = 24 * 60 * 60 * 1000;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue