chore: update firefox for search engines

Signed-off-by: jolheiser <john.olheiser@gmail.com>
teamcity
jolheiser 2024-01-25 21:38:24 -06:00
parent d8a3051db1
commit 3d4267bd98
Signed by: jolheiser
GPG Key ID: B853ADA5DA7BBF7A
1 changed files with 44 additions and 3 deletions

View File

@ -2,8 +2,42 @@
programs.firefox = {
enable = true;
profiles.default = {
search.default = "DuckDuckGo";
search.force = true;
search = {
default = "Kagi";
privateDefault = "DuckDuckGo";
order = ["Kagi" "DuckDuckGo"];
force = true;
engines = {
"Kagi" = {
definedAliases = ["@k"];
urls = [
{
template = "https://kagi.com/search";
params = [
{
name = "q";
value = "{searchTerms}";
}
];
}
];
};
"DuckDuckGo" = {
definedAliases = ["@d"];
urls = [
{
template = "https://duckduckgo.com/";
params = [
{
name = "q";
value = "{searchTerms}";
}
];
}
];
};
};
};
extensions = with pkgs.nur.repos.rycee.firefox-addons; [
bitwarden
clearurls
@ -22,9 +56,9 @@
"browser.newtabpage.activity-stream.feeds.section.topstories" = false;
"browser.newtabpage.activity-stream.showSponsoredTopSites" = false;
"browser.newtabpage.pinned" = builtins.toJSON [
{url = "https://mynixos.com/";}
{url = "https://github.com/";}
{url = "https://git.jojodev.com/";}
{url = "https://git.jolheiser.com";}
];
"browser.fixup.domainwhitelist.go" = true; # golink
};
@ -85,8 +119,15 @@
}
];
}
{
name = "ugit";
tags = ["git" "ugit"];
keyword = "ugit";
url = "https://git.jolheiser.com";
}
];
}
# Not in the toolbar, but still usable via keyword/searching
{
name = "Go Playground";
tags = ["golang"];