feat(firefox): Add more search engine alias and fix better-fox break change
This commit is contained in:
parent
8c71258562
commit
5dd2eb2ac3
2 changed files with 50 additions and 5 deletions
|
|
@ -22,16 +22,15 @@ in
|
||||||
package = pkgs.firefox-beta;
|
package = pkgs.firefox-beta;
|
||||||
betterfox = {
|
betterfox = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
profiles.default = {
|
||||||
|
enableAllSections = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
languagePacks = [
|
languagePacks = [
|
||||||
"zh-CN"
|
"zh-CN"
|
||||||
"en-US"
|
"en-US"
|
||||||
];
|
];
|
||||||
profiles.default = {
|
profiles.default = {
|
||||||
betterfox = {
|
|
||||||
enable = true;
|
|
||||||
enableAllSections = true;
|
|
||||||
};
|
|
||||||
name = "default";
|
name = "default";
|
||||||
isDefault = true;
|
isDefault = true;
|
||||||
extensions = {
|
extensions = {
|
||||||
|
|
@ -173,6 +172,52 @@ in
|
||||||
];
|
];
|
||||||
definedAliases = [ "nw" ];
|
definedAliases = [ "nw" ];
|
||||||
};
|
};
|
||||||
|
"Rust Stdandard Lib" = {
|
||||||
|
urls = [
|
||||||
|
{
|
||||||
|
template = "https://doc.rust-lang.org/nightly/std/index.html";
|
||||||
|
params = [
|
||||||
|
{
|
||||||
|
name = "search";
|
||||||
|
value = "{searchTerms}";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
}
|
||||||
|
];
|
||||||
|
definedAliases = [ "rs" ];
|
||||||
|
};
|
||||||
|
"GitHub" = {
|
||||||
|
urls = [
|
||||||
|
{
|
||||||
|
template = "https://github.com/search";
|
||||||
|
params = [
|
||||||
|
{
|
||||||
|
name = "q";
|
||||||
|
value = "{searchTerms}";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name = "type";
|
||||||
|
value = "repositories";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
}
|
||||||
|
];
|
||||||
|
definedAliases = [ "gh" ];
|
||||||
|
};
|
||||||
|
"Rust Reference" = {
|
||||||
|
urls = [
|
||||||
|
{
|
||||||
|
template = "https://doc.rust-lang.org/nightly/reference";
|
||||||
|
params = [
|
||||||
|
{
|
||||||
|
name = "search";
|
||||||
|
value = "{searchTerms}";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
}
|
||||||
|
];
|
||||||
|
definedAliases = [ "rr" ];
|
||||||
|
};
|
||||||
"bing".metaData.hidden = true;
|
"bing".metaData.hidden = true;
|
||||||
"google".metaData.alias = "@g"; # builtin engines only support specifying one additional alias
|
"google".metaData.alias = "@g"; # builtin engines only support specifying one additional alias
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
imports =
|
imports =
|
||||||
(with inputs; [
|
(with inputs; [
|
||||||
sops-nix.homeManagerModules.sops
|
sops-nix.homeManagerModules.sops
|
||||||
betterfox-nix.homeManagerModules.betterfox
|
betterfox-nix.homeModules.betterfox
|
||||||
nix-doom.homeModule
|
nix-doom.homeModule
|
||||||
])
|
])
|
||||||
++ lib.youthlic.loadImports ./.;
|
++ lib.youthlic.loadImports ./.;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue