summaryrefslogtreecommitdiff
path: root/config/services/web
diff options
context:
space:
mode:
Diffstat (limited to 'config/services/web')
-rw-r--r--config/services/web/searx/searx/default.nix19
1 files changed, 19 insertions, 0 deletions
diff --git a/config/services/web/searx/searx/default.nix b/config/services/web/searx/searx/default.nix
index 9550fc6..6306a35 100644
--- a/config/services/web/searx/searx/default.nix
+++ b/config/services/web/searx/searx/default.nix
@@ -117,6 +117,25 @@ in {
name = "duckduckgo";
disabled = false;
}
+ {
+ name = "nLab";
+ engine = "xpath";
+ search_url = "https://ncatlab.org/nlab/search?query={query}";
+ url_xpath = "//li/a/@href";
+ title_xpath = "//li/a";
+ content_xpath = "//li/a";
+ shortcut = "nlab";
+ categories = "science";
+ disabled = true;
+ about = {
+ website = "https://ncatlab.org/";
+ wikidata_id = "Q6954693";
+ official_api_documentation = "";
+ use_official_api = false;
+ require_api_key = false;
+ results = "HTML";
+ };
+ }
];
};
};