1
0
Fork 0

fix(searxng): enable autocomplete for suggestions in librewolf, fixup ip typo

This commit is contained in:
Philipp 2025-06-11 15:54:34 +02:00
parent 0451747e31
commit a84e3956c3
Signed by: Philipp
GPG key ID: 9EBD8439AFBAB750

View file

@ -47,11 +47,17 @@ in
services.searx = { services.searx = {
enable = true; enable = true;
environmentFile = "/run/secrets/searxng"; environmentFile = "/run/secrets/searxng";
settings.server = { settings = {
port = "1340"; server = {
bind_address = "127.0.0.1"; port = "1340";
use_default_settings = true; bind_address = "127.0.0.1";
secret_key = "@secret_key@"; use_default_settings = true;
secret_key = "@secret_key@";
};
search = {
safe_search = 0;
autocomplete = "google";
};
}; };
}; };
@ -79,12 +85,12 @@ in
"${cfg.domain}" = { "${cfg.domain}" = {
forceSSL = true; forceSSL = true;
useACMEHost = "stahl.sh"; useACMEHost = "stahl.sh";
locations."/".proxyPass = "http://127.0.01:1340"; locations."/".proxyPass = "http://127.0.0.1:1340";
}; };
"${cfg.redlib.domain}" = mkIf cfg.redlib.enable { "${cfg.redlib.domain}" = mkIf cfg.redlib.enable {
forceSSL = true; forceSSL = true;
useACMEHost = "stahl.sh"; useACMEHost = "stahl.sh";
locations."/".proxyPass = "http://127.0.01:1341"; locations."/".proxyPass = "http://127.0.0.1:1341";
}; };
}; };
}; };