From 24a376676fb9014f2ce67de0c31b1ed275c58743 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Mon, 3 Feb 2025 16:18:08 +0100 Subject: 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. --- .../home.legacy/conf/firefox/config/bookmarks/default.nix | 12 +----------- .../conf/firefox/config/search/engines/default.nix | 6 ++++++ 2 files changed, 7 insertions(+), 11 deletions(-) (limited to 'modules/home.legacy') 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"; -- cgit 1.4.1