Modules/Firefox: Update search engines
This commit is contained in:
@ -163,12 +163,19 @@ in {
|
|||||||
"google"
|
"google"
|
||||||
];
|
];
|
||||||
|
|
||||||
engines = {
|
engines = let
|
||||||
|
mkMan = section: page: p: {
|
||||||
|
name = "Man Pages - ${section}";
|
||||||
|
urls = [{template = "https://man7.org/linux/man-pages/man${page}/{searchTerms}.${page}${p}.html";}];
|
||||||
|
iconMapObj."16" = "https://man7.org/favicon.ico";
|
||||||
|
definedAliases = ["@man${page}"];
|
||||||
|
};
|
||||||
|
in {
|
||||||
kagi = {
|
kagi = {
|
||||||
name = "Kagi";
|
name = "Kagi";
|
||||||
urls = [{template = "https://kagi.com/search?q={searchTerms}";}];
|
urls = [{template = "https://kagi.com/search?q={searchTerms}";}];
|
||||||
iconMapObj."16" = "https://kagi.com/favicon.ico";
|
iconMapObj."16" = "https://kagi.com/favicon.ico";
|
||||||
definedAliases = ["@k"];
|
definedAliases = ["@kg"];
|
||||||
};
|
};
|
||||||
|
|
||||||
wiki = {
|
wiki = {
|
||||||
@ -178,13 +185,34 @@ in {
|
|||||||
definedAliases = ["@w"];
|
definedAliases = ["@w"];
|
||||||
};
|
};
|
||||||
|
|
||||||
nixos-packages = {
|
searchix = {
|
||||||
name = "NixOS Packages";
|
name = "Searchix";
|
||||||
urls = [{template = "https://searchix.ovh/?query={searchTerms}";}];
|
urls = [{template = "https://searchix.ovh/?query={searchTerms}";}];
|
||||||
iconMapObj."16" = "https://nixos.org/favicon.ico";
|
iconMapObj."16" = "https://nixos.org/favicon.ico";
|
||||||
|
definedAliases = ["@ns"];
|
||||||
|
};
|
||||||
|
|
||||||
|
nixos-packages = {
|
||||||
|
name = "Nix Packages";
|
||||||
|
urls = [{template = "https://search.nixos.org/packages?channel=unstable?query={searchTerms}";}];
|
||||||
|
iconMapObj."16" = "https://nixos.org/favicon.ico";
|
||||||
definedAliases = ["@np"];
|
definedAliases = ["@np"];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nixos-options = {
|
||||||
|
name = "NixOS Options";
|
||||||
|
urls = [{template = "https://search.nixos.org/options?channel=unstable?query={searchTerms}";}];
|
||||||
|
iconMapObj."16" = "https://nixos.org/favicon.ico";
|
||||||
|
definedAliases = ["@no"];
|
||||||
|
};
|
||||||
|
|
||||||
|
home-manager-options = {
|
||||||
|
name = "Home Manager Options";
|
||||||
|
urls = [{template = "https://home-manager-options.extranix.com/?query={searchTerms}";}];
|
||||||
|
iconMapObj."16" = "https://nixos.org/favicon.ico";
|
||||||
|
definedAliases = ["@hm"];
|
||||||
|
};
|
||||||
|
|
||||||
nixos-functions = {
|
nixos-functions = {
|
||||||
name = "NixOS Functions";
|
name = "NixOS Functions";
|
||||||
urls = [{template = "https://noogle.dev/q?term={searchTerms}";}];
|
urls = [{template = "https://noogle.dev/q?term={searchTerms}";}];
|
||||||
@ -192,6 +220,13 @@ in {
|
|||||||
definedAliases = ["@nf"];
|
definedAliases = ["@nf"];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nixpkgs-issues = {
|
||||||
|
name = "Nixpkgs Issues";
|
||||||
|
urls = [{template = "https://github.com/NixOS/nixpkgs/issues?q=is%3Aissue%20{searchTerms}";}];
|
||||||
|
iconMapObj."16" = "https://github.com/favicon.ico";
|
||||||
|
definedAliases = ["@ni"];
|
||||||
|
};
|
||||||
|
|
||||||
nixos-wiki = {
|
nixos-wiki = {
|
||||||
name = "NixOS Wiki";
|
name = "NixOS Wiki";
|
||||||
urls = [{template = "https://wiki.nixos.org/w/index.php?search={searchTerms}";}];
|
urls = [{template = "https://wiki.nixos.org/w/index.php?search={searchTerms}";}];
|
||||||
@ -206,13 +241,6 @@ in {
|
|||||||
definedAliases = ["@aw"];
|
definedAliases = ["@aw"];
|
||||||
};
|
};
|
||||||
|
|
||||||
nixpkgs-issues = {
|
|
||||||
name = "Nixpkgs Issues";
|
|
||||||
urls = [{template = "https://github.com/NixOS/nixpkgs/issues?q=is%3Aissue%20{searchTerms}";}];
|
|
||||||
iconMapObj."16" = "https://github.com/favicon.ico";
|
|
||||||
definedAliases = ["@i"];
|
|
||||||
};
|
|
||||||
|
|
||||||
github = {
|
github = {
|
||||||
name = "GitHub";
|
name = "GitHub";
|
||||||
urls = [{template = "https://github.com/search?q={searchTerms}&type=repositories";}];
|
urls = [{template = "https://github.com/search?q={searchTerms}&type=repositories";}];
|
||||||
@ -220,6 +248,32 @@ in {
|
|||||||
definedAliases = ["@gh"];
|
definedAliases = ["@gh"];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
man0 = mkMan "POSIX" "0" "p";
|
||||||
|
man1 = mkMan "Commands" "1" "";
|
||||||
|
man2 = mkMan "Syscalls" "2" "";
|
||||||
|
man3 = mkMan "C Functions" "3" "";
|
||||||
|
|
||||||
|
stackoverflow = {
|
||||||
|
name = "Stack Overflow";
|
||||||
|
urls = [{template = "https://stackoverflow.com/search?q={searchTerms}";}];
|
||||||
|
iconMapObj."16" = "https://stackoverflow.com/favicon.ico";
|
||||||
|
definedAliases = ["@so"];
|
||||||
|
};
|
||||||
|
|
||||||
|
x86 = {
|
||||||
|
name = "x86 Ref";
|
||||||
|
urls = [{template = "https://www.felixcloutier.com/x86/{searchTerms}";}];
|
||||||
|
iconMapObj."16" = "https://www.felixcloutier.com/favicon.ico";
|
||||||
|
definedAliases = ["@x86"];
|
||||||
|
};
|
||||||
|
|
||||||
|
youtube = {
|
||||||
|
name = "YouTube";
|
||||||
|
urls = [{template = "https://www.youtube.com/results?search_query={searchTerms}";}];
|
||||||
|
iconMapObj."16" = "https://www.youtube.com/favicon.ico";
|
||||||
|
definedAliases = ["@yt"];
|
||||||
|
};
|
||||||
|
|
||||||
google.metaData.alias = "@g";
|
google.metaData.alias = "@g";
|
||||||
|
|
||||||
# Hide bullshit
|
# Hide bullshit
|
||||||
|
|||||||
Reference in New Issue
Block a user