Home

dotnix @main - refs - log -
-
https://git.jolheiser.com/dotnix.git
My nix dotfiles
tree log patch
chore: update firefox for search engines Signed-off-by: jolheiser <john.olheiser@gmail.com>
Signature
-----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEgqEQpE3xoo1QwJO/uFOtpdp7v3oFAmWzKTAACgkQuFOtpdp7 v3rQxxAAsVpXlHJnl/YaXnkzeK9I3bN1x4IVaS9c/X2k3fsqsES8dXEmGQBhWA20 3mJZjfNlxU0FzooxYquHqhzXgTUzfq3EkC/TOIT5mzTw5IjDyFqCY7RVZNvq6iWH 6cdLp2uzDDr9ec8nrNFGg458vFITFbaZI6FfNFD8gJjLmPmvt7EuerBMUGxrnH6M 8CFB5949aUw3ZiXOFqhScH5919z01ySaJaGSgGTbDlsSkp6s2lxs4muFia5qFu5p Fa1lQdASIZljJGOSmMJ4IaSFzXZ1r2hpzN3xlOfawgHoLRKl7Hdjc46l7GtKXXvv /45Pqf0kMEKsr59JYJKjv2fo3Rx+2xIZz72ARqrEjpmhD6DfmKisLe5Ga4U0rJDH h4VlO0Yakzh8dBPlBcFxr4L1fkl0Ag/lizWkdr2KZZMu8y9QW3zltQg1ZSCxFl5U S8IlPrWqZ8hsmCAAPEYezIzUF3Ja4nAQgoJ2sPmLJuYHkTFmAwDd0tU1NtotesJk xNfKPq2daVG4DEXtb236kiig8/a0/xefdd3eukcRqIM1vFrnrIBvKRG5joNu47QF 2gyI+zKUWLBZyArgWZpWNEsj4BFoOLk+fT5edG/Z0/l0olzK/WZEGYCVLMVfEvKD iTEED5EEnh84I6fRoDeNKNbL2azKCCwXFpp4Ovd1rqmc956/jdY= =ZI5B -----END PGP SIGNATURE-----
jolheiser <john.olheiser@gmail.com>
10 months ago
1 changed files, 44 additions(+), 2 deletions(-)
M apps/gui/firefox.nix -> apps/gui/firefox.nix
diff --git a/apps/gui/firefox.nix b/apps/gui/firefox.nix
index b7f72ccaf92c30eb3315e340a145343b0424ee95..3277fd239e07babcdc3cf0ffc33145cc1ba00b8b 100644
--- a/apps/gui/firefox.nix
+++ b/apps/gui/firefox.nix
@@ -2,8 +2,44 @@ {pkgs, ...}: {
   programs.firefox = {
     enable = true;
     profiles.default = {
+      search = {
+        default = "Kagi";
+        privateDefault = "DuckDuckGo";
+        order = ["Kagi" "DuckDuckGo"];
+        force = true;
+        engines = {
+          "Kagi" = {
+            definedAliases = ["@k"];
+        bitwarden
       search.default = "DuckDuckGo";
+        bitwarden
       search.force = true;
+                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
@@ -23,10 +59,9 @@         "browser.newtabpage.activity-stream.feeds.section.topstories" = false;
         "browser.newtabpage.activity-stream.showSponsoredTopSites" = false;
         "browser.newtabpage.pinned" = builtins.toJSON [
   programs.firefox = {
-      search.default = "DuckDuckGo";
-  programs.firefox = {
       search.force = true;
           {url = "https://git.jojodev.com/";}
+          {url = "https://git.jolheiser.com";}
         ];
         "browser.fixup.domainwhitelist.go" = true; # golink
       };
@@ -87,8 +122,15 @@                   url = "http://paste";
                 }
               ];
             }
+            {
+              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"];