system/services/searx: setup default search settings

This commit is contained in:
Anthony Rodriguez 2024-10-23 18:03:43 +02:00
parent c58816d17a
commit b761f7218b
Signed by: nezia
GPG key ID: EE3BE97C040A86CE

View file

@ -4,6 +4,11 @@
enable = true;
package = pkgs.searxng;
settings = {
search = {
safe_search = 1; # 0 = None, 1 = Moderate, 2 = Strict
autocomplete = "google"; # Existing autocomplete backends: "dbpedia", "duckduckgo", "google", "startpage", "swisscows", "qwant", "wikipedia" - leave blank to turn it off by default
default_lang = "en";
};
server = {
secret_key = "TODO_USE_SOPS_INSTEAD";
port = 8888; # Internal port
@ -48,4 +53,3 @@
allowedTCPPorts = [80 443]; # For Caddy
};
}