about summary refs log tree commit diff stats
path: root/modules/home.legacy/conf
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-02-03 16:18:08 +0100
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-02-03 16:20:45 +0100
commit24a376676fb9014f2ce67de0c31b1ed275c58743 (patch)
tree4f584c894884da5244feea55bc416b288be0763d /modules/home.legacy/conf
parentfix(modules/legacy/conf/firefox/bookmarks): Remove outdated ones (diff)
downloadnixos-config-24a376676fb9014f2ce67de0c31b1ed275c58743.zip
fix(modules/legacy/conf/firefox/{bookmarks,search}): Replace the manuals with noogle
noogle.dev is actually up-to-date, whilst the manuals have not been
updated since 23.11. This is simply because they were experiments and
prove of concepts for a paged nixpkgs/lib manual.
Diffstat (limited to 'modules/home.legacy/conf')
-rw-r--r--modules/home.legacy/conf/firefox/config/bookmarks/default.nix12
-rw-r--r--modules/home.legacy/conf/firefox/config/search/engines/default.nix6
2 files changed, 7 insertions, 11 deletions
diff --git a/modules/home.legacy/conf/firefox/config/bookmarks/default.nix b/modules/home.legacy/conf/firefox/config/bookmarks/default.nix
index 0ef3eb64..41936819 100644
--- a/modules/home.legacy/conf/firefox/config/bookmarks/default.nix
+++ b/modules/home.legacy/conf/firefox/config/bookmarks/default.nix
@@ -3,17 +3,7 @@
   pkgs,
   ...
 }: let
-  bookmarks = [
-    {
-      name = "Nix lib";
-      url = "https://teu5us.github.io/nix-lib.html";
-    }
-
-    {
-      name = "Nixpkgs manual";
-      url = "https://ryantm.github.io/nixpkgs/";
-    }
-  ];
+  bookmarks = [];
 
   mkBookmarksFile = (import ./lib.nix) {inherit lib pkgs;};
   bookmarks_file = mkBookmarksFile bookmarks;
diff --git a/modules/home.legacy/conf/firefox/config/search/engines/default.nix b/modules/home.legacy/conf/firefox/config/search/engines/default.nix
index a47c77df..7e7880ca 100644
--- a/modules/home.legacy/conf/firefox/config/search/engines/default.nix
+++ b/modules/home.legacy/conf/firefox/config/search/engines/default.nix
@@ -13,6 +13,12 @@
     definedAliases = ["@np"];
   };
 
+  "Nix functions" = {
+    urls = [{template = "https://noogle.dev/q?term={searchTerms}";}];
+    icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
+    definedAliases = ["@ng"];
+  };
+
   "NixOS Options" = {
     urls = [{template = "https://search.nixos.org/options?type=options&query={searchTerms}";}];
     icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";