summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorQuentin Aristote <quentin@aristote.fr>2021-08-08 09:53:08 +0200
committerQuentin Aristote <quentin@aristote.fr>2021-08-08 09:53:08 +0200
commite0f18321212b88bab431aa5def949a9484dd7cc4 (patch)
tree24907a5fdc84ea5dca399d4be1dcecc5dad9bfc3 /config
parent34670ce5bb4a0280ddafed12d7e61350ad372bee (diff)
disable some search engines
Diffstat (limited to 'config')
-rw-r--r--config/searx/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/config/searx/default.nix b/config/searx/default.nix
index 7445c54..aad60e1 100644
--- a/config/searx/default.nix
+++ b/config/searx/default.nix
@@ -79,6 +79,30 @@ in {
"Tracker URL remover"
"Vim-like hotkeys"
];
+ engines = let
+ disable = names:
+ map (name: {
+ inherit name;
+ disabled = true;
+ }) names;
+ in disable [
+ # general
+ "bing"
+ "currency"
+ "dictzone"
+ # files
+ "btdigg"
+ "torrentz"
+ # images
+ "bing images"
+ "ccengine"
+ "library of congress"
+ "qwant images"
+ # it
+ "hoogle"
+ # map
+ "photon"
+ ];
};
runInUwsgi = true;
uwsgiConfig = {