30 lines
739 B
Nix
30 lines
739 B
Nix
{ 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";
|
|
};
|
|
}
|