setup firefox search engines
This commit is contained in:
parent
27abdf814b
commit
e0c6a80533
1 changed files with 41 additions and 1 deletions
|
|
@ -22,8 +22,48 @@ in
|
||||||
id = 0;
|
id = 0;
|
||||||
name = "profile_0";
|
name = "profile_0";
|
||||||
isDefault = true;
|
isDefault = true;
|
||||||
|
search = {
|
||||||
|
default = "ddg";
|
||||||
|
order = [
|
||||||
|
"ddg"
|
||||||
|
"google"
|
||||||
|
];
|
||||||
|
engines = {
|
||||||
|
nix-packages = {
|
||||||
|
name = "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 = {
|
||||||
|
name = "NixOS Wiki";
|
||||||
|
urls = [ { template = "https://wiki.nixos.org/w/index.php?search={searchTerms}"; } ];
|
||||||
|
iconMapObj."16" = "https://wiki.nixos.org/favicon.ico";
|
||||||
|
definedAliases = [ "@nw" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
bing.metaData.hidden = true;
|
||||||
|
google.metaData.alias = "@g";
|
||||||
|
};
|
||||||
|
};
|
||||||
settings = {
|
settings = {
|
||||||
# TODO: add firefox settings of choice
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue