diff --git a/configuration.nix b/configuration.nix index 10622a2..18496f7 100644 --- a/configuration.nix +++ b/configuration.nix @@ -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/";