feat: added searXNG

This commit is contained in:
Nick 2025-03-08 01:19:12 -06:00
parent 1b0e09b029
commit 2529f6277d

View file

@ -0,0 +1,34 @@
{ instancesFunctions }:
let
inherit (instancesFunctions)
domain0
servicePath
sslPath
sopsPath
;
searxLabel = "SearXNG";
searxName = "searx";
searxSubdomain = "search";
in
{
label = searxLabel;
name = searxName;
email = {
address0 = "noreply@${domain0}";
};
sops = {
path0 = "${sopsPath}/${searxName}";
};
subdomain = searxSubdomain;
paths = {
path0 = "${servicePath}/${searxLabel}";
};
ports = {
port0 = 8888;
};
ssl = {
cert = "${sslPath}/${searxSubdomain}.${domain0}/fullchain.pem";
key = "${sslPath}/${searxSubdomain}.${domain0}/key.pem";
};
}