about summary refs log tree commit diff stats
path: root/hm
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-09-30 12:03:58 +0200
committerSoispha <soispha@vhack.eu>2023-09-30 12:03:58 +0200
commitcd5d35c7da5473bf24d6f2245585a6324ba5dced (patch)
tree21ca704b5eb236a121aad70555e02c3487080b6f /hm
parentfix(hm/conf/firefox/prefs): Use defined download dir (diff)
downloadnixos-config-cd5d35c7da5473bf24d6f2245585a6324ba5dced.tar.gz
nixos-config-cd5d35c7da5473bf24d6f2245585a6324ba5dced.zip
fix(hm/conf/firefox/search): Add home-manager search as search engine
Diffstat (limited to '')
-rw-r--r--hm/soispha/conf/firefox/config/bookmarks/default.nix5
-rw-r--r--hm/soispha/conf/firefox/config/search/engines/default.nix5
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
@@ -10,11 +10,6 @@
   }
 
   {
-    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";