mirror of
https://codeberg.org/jopejoe1/nix-conf.git
synced 2025-01-01 17:26:34 +01:00
add searx server
This commit is contained in:
parent
e2e71c5b33
commit
70aa92d173
1 changed files with 13 additions and 0 deletions
|
@ -49,6 +49,11 @@
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
};
|
};
|
||||||
|
"search.missing.ninja" = {
|
||||||
|
forceSSL = true;
|
||||||
|
enableACME = true;
|
||||||
|
locations."/".proxyPass = "http://unix:${config.services.searx.uwsgiConfig.socket}";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -74,6 +79,14 @@
|
||||||
max_input_time = 300
|
max_input_time = 300
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
services.searx = {
|
||||||
|
enable = true;
|
||||||
|
runInUwsgi = true;
|
||||||
|
uwsgiConfig = {
|
||||||
|
socket = "/run/searx/searx.sock";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
services.wordpress.sites."test.missing.ninja" =
|
services.wordpress.sites."test.missing.ninja" =
|
||||||
with self.packages.${config.nixpkgs.hostPlatform.system}; {
|
with self.packages.${config.nixpkgs.hostPlatform.system}; {
|
||||||
themes = [
|
themes = [
|
||||||
|
|
Loading…
Reference in a new issue