132 lines
2.5 KiB
Nix
132 lines
2.5 KiB
Nix
{ config, ... }:
|
|
{
|
|
services.searx = {
|
|
enable = true;
|
|
environmentFile = config.sops.secrets.searxng-env.path;
|
|
settings = {
|
|
general = {
|
|
instance_name = "Search";
|
|
};
|
|
|
|
search = {
|
|
safe_search = 0;
|
|
autocomplete = "google";
|
|
favicon_resolver = "google";
|
|
};
|
|
|
|
server = {
|
|
bind_address = "0.0.0.0";
|
|
base_url = "https://search.datarift.nl";
|
|
image_proxy = true;
|
|
http_protocol_version = "1.1";
|
|
method = "GET";
|
|
};
|
|
|
|
ui = {
|
|
static_use_hash = true;
|
|
results_on_new_tab = true;
|
|
};
|
|
|
|
enabled_plugins = [
|
|
"Basic Calculator"
|
|
"Hash plugin"
|
|
"Open Access DOI rewrite"
|
|
"Self Information"
|
|
"Tracker URL remover"
|
|
"Unit converter plugin"
|
|
];
|
|
|
|
engines = [
|
|
{
|
|
name = "bing";
|
|
disabled = true;
|
|
}
|
|
{
|
|
name = "cppreference";
|
|
disabled = false;
|
|
}
|
|
{
|
|
name = "tineye";
|
|
disabled = false;
|
|
}
|
|
{
|
|
name = "codeberg";
|
|
disabled = false;
|
|
}
|
|
{
|
|
name = "google videos";
|
|
disabled = true;
|
|
}
|
|
{
|
|
name = "crates.io";
|
|
disabled = false;
|
|
}
|
|
{
|
|
name = "hoogle";
|
|
disabled = true;
|
|
}
|
|
{
|
|
name = "kickass";
|
|
disabled = true;
|
|
}
|
|
{
|
|
name = "lobste.rs";
|
|
disabled = false;
|
|
}
|
|
{
|
|
name = "pinterest";
|
|
disabled = true;
|
|
}
|
|
{
|
|
name = "piratebay";
|
|
disabled = true;
|
|
}
|
|
{
|
|
name = "reddit";
|
|
disabled = false;
|
|
}
|
|
{
|
|
name = "solidtorrents";
|
|
disabled = true;
|
|
}
|
|
{
|
|
name = "torch";
|
|
disabled = true;
|
|
}
|
|
{
|
|
name = "youtube";
|
|
disabled = true;
|
|
}
|
|
{
|
|
name = "dailymotion";
|
|
disabled = true;
|
|
}
|
|
{
|
|
name = "vimeo";
|
|
disabled = true;
|
|
}
|
|
{
|
|
name = "brave";
|
|
disabled = true;
|
|
}
|
|
{
|
|
name = "brave.images";
|
|
disabled = true;
|
|
}
|
|
{
|
|
name = "brave.videos";
|
|
disabled = true;
|
|
}
|
|
{
|
|
name = "brave.news";
|
|
disabled = true;
|
|
}
|
|
{
|
|
name = "sourcehut";
|
|
disabled = false;
|
|
}
|
|
];
|
|
};
|
|
|
|
};
|
|
}
|