Add searx host
This commit is contained in:
parent
3708003da6
commit
967c771b3e
8 changed files with 101 additions and 0 deletions
29
config/hosts/searx/searx.nix
Normal file
29
config/hosts/searx/searx.nix
Normal 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";
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue