2024-01-15 14:16:13 -05:00
|
|
|
{pkgs}:
|
|
|
|
|
{
|
|
|
|
|
enable = true;
|
|
|
|
|
profiles = {
|
|
|
|
|
default = {
|
|
|
|
|
id = 0;
|
|
|
|
|
name = "Main Profile";
|
|
|
|
|
isDefault = true;
|
|
|
|
|
search = {
|
|
|
|
|
force = true;
|
|
|
|
|
default = "DuckDuckGo";
|
|
|
|
|
order = [ "DuckDuckGo" "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 Options" = {
|
|
|
|
|
urls = [{
|
|
|
|
|
template = "https://search.nixos.org/options";
|
|
|
|
|
params = [
|
|
|
|
|
{ name = "type"; value = "options"; }
|
|
|
|
|
{ name = "query"; value = "{searchTerms}"; }
|
|
|
|
|
];
|
|
|
|
|
}];
|
|
|
|
|
icon = "''${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
|
|
|
|
definedAliases = [ "@no" ];
|
|
|
|
|
};
|
|
|
|
|
"NixOS Wiki" = {
|
|
|
|
|
urls = [{ template = "https://nixos.wiki/index.php?search={searchTerms}"; }];
|
|
|
|
|
iconUpdateURL = "https://nixos.wiki/favicon.png";
|
|
|
|
|
updateInterval = 24 * 60 * 60 * 1000; # every day
|
|
|
|
|
definedAliases = [ "@nw" ];
|
|
|
|
|
};
|
|
|
|
|
"HomeManager Unofficial Options" = {
|
|
|
|
|
urls = [{
|
|
|
|
|
template = "https://mipmip.github.io/home-manager-option-search";
|
|
|
|
|
params = [
|
|
|
|
|
{ name = "query"; value = "{searchTerms}"; }
|
|
|
|
|
];
|
|
|
|
|
}];
|
|
|
|
|
icon = "''${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
|
|
|
|
definedAliases = [ "@hm" ];
|
|
|
|
|
};
|
2024-03-12 11:00:18 -04:00
|
|
|
"Arch Wiki" = {
|
|
|
|
|
urls = [{ template = "https://wiki.archlinux.org/index.php?search={searchTerms}"; }];
|
|
|
|
|
iconUpdateURL = "https://wiki.archlinux.org/favicon.ico";
|
|
|
|
|
definedAliases = [ "@aw" ];
|
|
|
|
|
};
|
2024-03-19 23:07:41 -04:00
|
|
|
"GeoGuessr Join" = {
|
|
|
|
|
urls = [{ template = "https://www.geoguessr.com/join/{searchTerms}"; }];
|
|
|
|
|
definedAliases = [ "@ggj" ];
|
|
|
|
|
};
|
2024-01-15 14:16:13 -05:00
|
|
|
"Google".metaData.alias = "@g"; #builtin engines only support specifying one additional alias
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
# extensions = with pkgs.nur.repos.rycee.firefox-addons; [
|
|
|
|
|
# ublock-origin
|
|
|
|
|
# bitwarden
|
|
|
|
|
# multi-account-containers
|
|
|
|
|
# ];
|
|
|
|
|
settings = {
|
|
|
|
|
"browser.search.region" = "CA";
|
|
|
|
|
"browser.search.isUS" = false;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
}
|