messing with website

locked papermc

added searxng

enabled website
This commit is contained in:
Gerg-L 2023-09-17 16:04:33 -04:00
parent f8c13c04b9
commit 164cdd85a0
Signed by: gerg-l
SSH key fingerprint: SHA256:FPYDHIkvMocr4wdmZXpgpJjsb2Tw6rASs2ISPbOb0KI
8 changed files with 177 additions and 97 deletions

View file

@ -0,0 +1,34 @@
_: {
config,
pkgs,
...
}: {
sops.secrets.searxngenv = {};
services.searx = {
enable = true;
runInUwsgi = false;
package = pkgs.searxng;
environmentFile = config.sops.secrets.searxngenv.path;
settings = {
server = {
port = 8765;
secret_key = "@SEARXNG_SECRET@";
};
search.formats = [
"html"
"json"
];
engines = [
{
name = "bing";
disabled = true;
}
{
name = "brave";
disabled = true;
}
];
ui.theme_args.simple_style = "dark";
};
};
}