From cd5d35c7da5473bf24d6f2245585a6324ba5dced Mon Sep 17 00:00:00 2001 From: Soispha Date: Sat, 30 Sep 2023 12:03:58 +0200 Subject: fix(hm/conf/firefox/search): Add home-manager search as search engine --- hm/soispha/conf/firefox/config/bookmarks/default.nix | 5 ----- hm/soispha/conf/firefox/config/search/engines/default.nix | 5 +++++ 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/hm/soispha/conf/firefox/config/bookmarks/default.nix b/hm/soispha/conf/firefox/config/bookmarks/default.nix index 4de83ac9..8315cffd 100644 --- a/hm/soispha/conf/firefox/config/bookmarks/default.nix +++ b/hm/soispha/conf/firefox/config/bookmarks/default.nix @@ -9,11 +9,6 @@ url = "https://www.deepl.com/translator"; } - { - name = "HM Options"; - url = "https://mipmip.github.io/home-manager-option-search/"; - } - { name = "Nix lib"; url = "https://teu5us.github.io/nix-lib.html"; diff --git a/hm/soispha/conf/firefox/config/search/engines/default.nix b/hm/soispha/conf/firefox/config/search/engines/default.nix index 2ed2ad5c..3e22af5a 100644 --- a/hm/soispha/conf/firefox/config/search/engines/default.nix +++ b/hm/soispha/conf/firefox/config/search/engines/default.nix @@ -22,6 +22,11 @@ icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg"; definedAliases = ["@no"]; }; + "Homemanager Options" = { + urls = [{template = "https://mipmip.github.io/home-manager-option-search/?query={searchTerms}";}]; + icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg"; + definedAliases = ["@nh"]; + }; "NixOS Wiki" = { urls = [{template = "https://nixos.wiki/index.php?search={searchTerms}";}]; icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg"; -- cgit 1.4.1