add searx server

This commit is contained in:
Johannes Jöns 2024-07-16 20:53:45 +02:00
parent e2e71c5b33
commit 70aa92d173

View file

@ -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 = [