From 9c70e5e84923f8c3d62ab5e940117111e30ec6ba Mon Sep 17 00:00:00 2001 From: Daniel Langbein Date: Sun, 4 Feb 2024 16:39:44 +0100 Subject: [PATCH] add firefox search engine --- modules/firefox.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/modules/firefox.nix b/modules/firefox.nix index fd5a0c6..282b458 100644 --- a/modules/firefox.nix +++ b/modules/firefox.nix @@ -107,6 +107,13 @@ definedAliases = [ "@nw" ]; }; + "nixpkgs" = { + urls = [{ template = "https://search.nixos.org/packages?query={searchTerms}"; }]; + iconUpdateURL = "https://nixos.wiki/favicon.png"; + updateInterval = 24 * 60 * 60 * 1000; # Every day + definedAliases = [ "@np" ]; + }; + "Startpage" = { urls = [{ template = "https://www.startpage.com/sp/search?query={searchTerms}"; }]; iconUpdateURL = "https://www.startpage.com/sp/cdn/favicons/favicon-32x32--default.png";