diff --git a/home-manager/browser.nix b/home-manager/browser.nix index 02fd72d..01e8335 100644 --- a/home-manager/browser.nix +++ b/home-manager/browser.nix @@ -51,7 +51,31 @@ in search = { default = "DuckDuckGo"; force = true; + order = [ + "DuckDuckGo" + "Google (udm14)" + "Nix Packages" + "Nix Options" + "NixOS Wiki" + "ProtonDB" + ]; engines = { + "Bing".metaData.hidden = true; + "Google".metaData.hidden = true; + "Startpage".metaData.hidden = true; + "You.com".metaData.hidden = true; + + "Google (udm14)" = { + urls = [ { template = "https://google.com/search?q={searchTerms}&udm14"; } ]; + iconUpdateURL = "https://google.com/favicon.ico"; + updateInterval = 24 * 60 * 60 * 1000; # every day + definedAliases = [ + "@g" + "@google" + "@udm14" + "udm14" + ]; + }; "Nix Packages" = { urls = [ { @@ -106,6 +130,15 @@ in "nix" ]; }; + "ProtonDB" = { + urls = [ { template = "https://www.protondb.com/search?q={searchTerms}"; } ]; + iconUpdateURL = "https://www.protondb.com/favicon.ico"; + updateInterval = 24 * 60 * 60 * 1000; # every day + definedAliases = [ + "@pd" + "proton" + ]; + }; }; }; settings = {