switch to searxng

searx is basically unmaintained
This commit is contained in:
Michele Guerini Rocco 2023-07-11 18:34:43 +02:00
parent f58c419cdb
commit 53c3d49f2f
Signed by: rnhmjoj
GPG Key ID: BFBAF4C975F76450

View File

@ -273,6 +273,7 @@
services.searx = { services.searx = {
enable = true; enable = true;
environmentFile = config.secrets.environments.searx; environmentFile = config.secrets.environments.searx;
package = pkgs.searxng;
# Use nginx+uWSGI # Use nginx+uWSGI
runInUwsgi = true; runInUwsgi = true;
@ -372,7 +373,7 @@
include ${pkgs.nginx}/conf/uwsgi_params; include ${pkgs.nginx}/conf/uwsgi_params;
uwsgi_pass unix:/run/searx/uwsgi.sock; uwsgi_pass unix:/run/searx/uwsgi.sock;
''; '';
locations."/srx/static/".alias = "${pkgs.searx}/share/static/"; locations."/srx/static/".alias = "${config.services.searx.package}/share/static/";
# Git server # Git server
locations."/git/".proxyPass = "http://localhost:3000/"; locations."/git/".proxyPass = "http://localhost:3000/";