feat: Update searxng
This commit is contained in:
@@ -50,7 +50,7 @@
|
||||
# api_key_file = "${config.sops.secrets."gemini/api_key".path}";
|
||||
models = [
|
||||
{
|
||||
name = "gemini-2.5-flash-preview-04-17";
|
||||
name = "gemini-2.5-pro";
|
||||
type = "chat";
|
||||
}
|
||||
];
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
./zerotier.nix
|
||||
./prowlarr.nix
|
||||
./flaresolverr.nix
|
||||
./searxng.nix
|
||||
|
||||
# ./home-assistant.nix
|
||||
# ./jellyfin.nix
|
||||
|
||||
@@ -37,7 +37,6 @@
|
||||
WEBUI_AUTH = "False";
|
||||
ENABLE_LOGIN_FORM = "False";
|
||||
WEBUI_URL = "https://llama.darksailor.dev";
|
||||
# OLLAMA_BASE_URL = "https://ollama.darksailor.dev/v1";
|
||||
OPENAI_BASE_URL = "https://ollama.darksailor.dev/v1";
|
||||
};
|
||||
environmentFile = "${config.sops.templates."LLAMA_API_KEY.env".path}";
|
||||
|
||||
20
nixos/mirai/services/searxng.nix
Normal file
20
nixos/mirai/services/searxng.nix
Normal file
@@ -0,0 +1,20 @@
|
||||
{config, ...}: {
|
||||
services.searx = {
|
||||
enable = true;
|
||||
# configureUwsgi = true;
|
||||
# uwsgiConfig = {
|
||||
# socket = "/run/searx/searx.sock";
|
||||
# chmod-socket = "660";
|
||||
# };
|
||||
settings = {
|
||||
server = {
|
||||
port = "8889";
|
||||
secret_key = "foobar";
|
||||
base_url = "https://search.darksailor.dev";
|
||||
};
|
||||
};
|
||||
};
|
||||
services.caddy.virtualHosts."search.darksailor.dev".extraConfig = ''
|
||||
reverse_proxy localhost:8889
|
||||
'';
|
||||
}
|
||||
Reference in New Issue
Block a user