whoogle -> searxng

This commit is contained in:
rotterdam 2023-06-01 19:39:40 -03:00
parent 05fbe03587
commit e0e488e704
3 changed files with 21 additions and 2 deletions

View file

@ -0,0 +1,18 @@
{ inputs, config, pkgs, lib, ... }:
{
services = {
searx = {
enable = true;
package = pkgs.searxng;
settings = { server.port = config.ports.searx; };
};
nginx.virtualHosts."searx.baduhai.me" = {
useACMEHost = "baduhai.me";
forceSSL = true;
kTLS = true;
locations."/".proxyPass = "http://127.0.0.1:${config.ports.searx}";
};
};
}