switch to searxng
searx is basically unmaintained
This commit is contained in:
parent
f58c419cdb
commit
53c3d49f2f
@ -273,6 +273,7 @@
|
||||
services.searx = {
|
||||
enable = true;
|
||||
environmentFile = config.secrets.environments.searx;
|
||||
package = pkgs.searxng;
|
||||
|
||||
# Use nginx+uWSGI
|
||||
runInUwsgi = true;
|
||||
@ -372,7 +373,7 @@
|
||||
include ${pkgs.nginx}/conf/uwsgi_params;
|
||||
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
|
||||
locations."/git/".proxyPass = "http://localhost:3000/";
|
||||
|
Loading…
Reference in New Issue
Block a user