mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 15:22:59 +01:00
Merge pull request #181881 from SuperSandro2000/searx
This commit is contained in:
commit
98b4daa994
1 changed files with 7 additions and 1 deletions
|
@ -143,6 +143,7 @@ in
|
|||
disable-logging = true;
|
||||
http = ":8080"; # serve via HTTP...
|
||||
socket = "/run/searx/searx.sock"; # ...or UNIX socket
|
||||
chmod-socket = "660"; # allow the searx group to read/write to the socket
|
||||
}
|
||||
'';
|
||||
description = ''
|
||||
|
@ -220,7 +221,12 @@ in
|
|||
lazy-apps = true;
|
||||
enable-threads = true;
|
||||
module = "searx.webapp";
|
||||
env = [ "SEARX_SETTINGS_PATH=${cfg.settingsFile}" ];
|
||||
env = [
|
||||
"SEARX_SETTINGS_PATH=${cfg.settingsFile}"
|
||||
# searxng compatiblity https://github.com/searxng/searxng/issues/1519
|
||||
"SEARXNG_SETTINGS_PATH=${cfg.settingsFile}"
|
||||
];
|
||||
buffer-size = 32768;
|
||||
pythonPackages = self: [ cfg.package ];
|
||||
} // cfg.uwsgiConfig;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue