minion@greylag: Enable Kagi
Kagi is a paid search engine (https://kagi.com). I used their trial and
enjoyed it a lot more than google - enough to pay for unlimited searches
(I'm clearly a high-volume user: I searched 100 times in less than 3
days!)
As, as far as I'm aware, no other Chimera user uses Kagi I have added it
to my home only. In future, I may convert it into a Firefox option so I
can easly share between greylag and canvasback
Change-Id: I91480533ef6d761b90fa088a30f37fa448394476
Reviewed-on: https://git.clicks.codes/c/Chimera/NixFiles/+/434
Reviewed-by: Skyler Grey <minion@clicks.codes>
Tested-by: Skyler Grey <minion@clicks.codes>
diff --git a/homes/x86_64-linux/minion@greylag/default.nix b/homes/x86_64-linux/minion@greylag/default.nix
index 9903133..01fc646 100644
--- a/homes/x86_64-linux/minion@greylag/default.nix
+++ b/homes/x86_64-linux/minion@greylag/default.nix
@@ -23,6 +23,25 @@
greylag
'';
+ programs.firefox.profiles.chimera.search = {
+ engines = {
+ "Kagi" = {
+ urls = [
+ { template = "https://kagi.com/search?q={searchTerms}"; }
+ {
+ template = "https://kagi.com/api/autosuggest?q={searchTerms}";
+ type = "application/x-suggestions+json";
+ }
+ ];
+ iconUpdateURL = "https://assets.kagi.com/v2/favicon-32x32.png";
+ updateInterval = 24 * 60 * 60 * 1000;
+ };
+ };
+ order = [ "Kagi" ];
+ default = "Kagi";
+ force = true;
+ };
+
programs.gpg.scdaemonSettings = {
reader-port = "Yubico Yubi";
};
@@ -85,7 +104,10 @@
reactDevTools.enable = true;
adnauseam.enable = true;
};
- extraExtensions = [ config.nur.repos.rycee.firefox-addons.sidebery ];
+ extraExtensions = [
+ config.nur.repos.rycee.firefox-addons.sidebery
+ config.nur.repos.rycee.firefox-addons.kagi-search
+ ];
};
shell.bash.enable = true;