Add searx host

This commit is contained in:
fi 2023-10-16 11:22:48 +02:00
parent 3708003da6
commit 967c771b3e
Signed by: fi
SSH key fingerprint: SHA256:d+6fQoDPMbSFK95zRVflRKZLRKF4cPSQb7VIxYkhFsA
8 changed files with 101 additions and 0 deletions

View file

@ -0,0 +1,29 @@
{ pkgs, ... }:
{
services.searx = {
enable = true;
package = pkgs.searxng;
redisCreateLocally = true;
settings = {
general = {
debug = false;
instance_name = "SearXNG";
};
server = {
bind_address = "127.0.0.1";
port = 8080;
base_url = "https://searx.nekover.se";
limiter = true;
image_proxy = true;
secret_key = "@SEARX_SECRET_KEY@";
};
search = {
safe_search = 0;
autocomplete = "duckduckgo";
};
ui.static_use_hash = true;
enabled_plugins = [ "Hash plugin" "Self Informations" "Tracker URL remover" "Ahmia blacklist" ];
};
environmentFile = "/secrets/searx-secret-key.secret";
};
}