1

Compare commits

..

3 Commits

3 changed files with 74 additions and 12 deletions

View File

@ -919,6 +919,14 @@ in
"mars" = { "mars" = {
user = "smchurla"; user = "smchurla";
hostname = "mars.cs.tu-dortmund.de"; hostname = "mars.cs.tu-dortmund.de";
serverAliveInterval = 60;
localForwards = [
{
bind.port = 22941;
host.address = "127.0.0.1";
host.port = 22941;
}
];
}; };
}; };
}; };

View File

@ -15,7 +15,7 @@ in [
(mkBm "Package Search" "https://search.nixos.org/packages") (mkBm "Package Search" "https://search.nixos.org/packages")
(mkBm "Option Search" "https://search.nixos.org/options?") (mkBm "Option Search" "https://search.nixos.org/options?")
(mkBm "Function Search" "https://noogle.dev/") (mkBm "Function Search" "https://noogle.dev/")
(mkBm "HM Search" "https://mipmip.github.io/home-manager-option-search/") (mkBm "HM Search" "https://home-manager-options.extranix.com/")
(mkBm "NUR Search" "https://nur.nix-community.org/") (mkBm "NUR Search" "https://nur.nix-community.org/")
(mkBm "Nixpkgs Version Search" "https://lazamar.co.uk/nix-versions/") (mkBm "Nixpkgs Version Search" "https://lazamar.co.uk/nix-versions/")
(mkBm "Nixpkgs PR Tracker" "https://nixpk.gs/pr-tracker.html") (mkBm "Nixpkgs PR Tracker" "https://nixpk.gs/pr-tracker.html")

View File

@ -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