home/browser: steal github nix config search engine from @pbsds
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ pkgs, ... }:
|
||||
{ pkgs, lib, ... }:
|
||||
{
|
||||
"Amazon.com".metaData.hidden = true;
|
||||
"Bing".metaData.hidden = true;
|
||||
@@ -57,6 +57,26 @@
|
||||
definedAliases = [ "gh" ];
|
||||
};
|
||||
|
||||
"GitHub Nix Configs" = {
|
||||
urls = [{
|
||||
template = "https://github.com/search";
|
||||
params = [
|
||||
{ name = "type"; value = "code"; }
|
||||
{
|
||||
name = "q";
|
||||
value = lib.concatStringsSep " " [
|
||||
"lang:nix"
|
||||
"-is:fork"
|
||||
"-repo:nixos/nixpkgs"
|
||||
"{searchTerms}"
|
||||
];
|
||||
}
|
||||
];
|
||||
}];
|
||||
icon = "${pkgs.super-tiny-icons}/share/icons/SuperTinyIcons/svg/github.svg";
|
||||
definedAliases = [ "ghn" ];
|
||||
};
|
||||
|
||||
"HomeManager Options" = {
|
||||
urls = [{
|
||||
template = "https://mipmip.github.io/home-manager-option-search/?{searchTerms}";
|
||||
|
||||
Reference in New Issue
Block a user