This commit is contained in:
Till 2023-12-09 13:22:32 +01:00
parent 2887604a3f
commit 65e136fd95
8 changed files with 62 additions and 14 deletions

View file

@ -44,6 +44,50 @@
linkhints
keepassxc-browser
];
search = {
force = true;
default = "Google";
engines = {
"Nix Packages" = {
urls = [{
template = "https://search.nixos.org/packages";
params = [
{ name = "type"; value = "packages"; }
{ name = "query"; value = "{searchTerms}"; }
];
}];
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
definedAliases = [ "@np" ];
};
"NixOS Wiki" = {
urls = [{ template = "https://nixos.wiki/index.php?search={searchTerms}"; }];
iconUpdateURL = "https://nixos.wiki/favicon.png";
updateInterval = 24 * 60 * 60 * 1000;
definedAliases = [ "@nw" ];
};
"Home manager options" = {
urls = [{ template = "https://mipmip.github.io/home-manager-option-search/?query={searchTerms}"; }];
iconUpdateURL = "https://mipmip.github.io/home-manager-option-search/images/favicon.png";
updateInterval = 24 * 60 * 60 * 1000;
definedAliases = [ "@hm" ];
};
"Google maps" = {
urls = [{ template = "http://maps.google.com/?q={searchTerms}"; }];
iconUpdateURL = "https://www.google.com/images/branding/product/ico/maps15_bnuw3a_32dp.ico";
updateInterval = 24 * 60 * 60 * 1000;
definedAliases = [ "@gm" ];
};
"Google scholar" = {
urls = [{ template = "https://scholar.google.com/scholar?q={searchTerms}"; }];
iconUpdateURL = "https://scholar.google.com/favicon.ico";
updateInterval = 24 * 60 * 60 * 1000;
definedAliases = [ "@gs" ];
};
"Wikipedia (en)".metaData.alias = "@wiki";
"Bing".metaData.hidden = true;
"Amazon.de".metaData.hidden = true;
};
};
extraConfig = ''
user_pref("app.shield.optoutstudies.enabled", false);
user_pref("browser.aboutConfig.showWarning", false);