Add nixos options search to firefox
This commit is contained in:
parent
40ce29f470
commit
78b93df27a
1 changed files with 13 additions and 1 deletions
|
@ -93,7 +93,7 @@
|
||||||
search = {
|
search = {
|
||||||
force = true;
|
force = true;
|
||||||
default = "SearXNG";
|
default = "SearXNG";
|
||||||
order = [ "SearXNG" "Google" "Wikipedia" "Nix Packages" "NixOS Wiki" ];
|
order = [ "SearXNG" "Google" "Wikipedia" "Nix Packages" "NixOS Options" "NixOS Wiki" ];
|
||||||
engines = {
|
engines = {
|
||||||
# Nix Package Search
|
# Nix Package Search
|
||||||
"Nix Packages" = {
|
"Nix Packages" = {
|
||||||
|
@ -107,6 +107,18 @@
|
||||||
icon = "''${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
icon = "''${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
||||||
definedAliases = [ "@np" ];
|
definedAliases = [ "@np" ];
|
||||||
};
|
};
|
||||||
|
# NixOS Options Search
|
||||||
|
"NixOS Options" = {
|
||||||
|
urls = [{
|
||||||
|
template = "https://search.nixos.org/options";
|
||||||
|
params = [
|
||||||
|
{ name = "type"; value = "packages"; }
|
||||||
|
{ name = "query"; value = "{searchTerms}"; }
|
||||||
|
];
|
||||||
|
}];
|
||||||
|
icon = "''${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
||||||
|
definedAliases = [ "@no" ];
|
||||||
|
};
|
||||||
# NixOS Wiki Search
|
# NixOS Wiki Search
|
||||||
"NixOS Wiki" = {
|
"NixOS Wiki" = {
|
||||||
urls = [{ template = "https://nixos.wiki/index.php?search={searchTerms}"; }];
|
urls = [{ template = "https://nixos.wiki/index.php?search={searchTerms}"; }];
|
||||||
|
|
Loading…
Reference in a new issue