add ntfy and searxng along with other tweaks

This commit is contained in:
Satria 2026-03-13 11:05:21 +07:00
commit 95dfaa9888
5 changed files with 35 additions and 1 deletions

View file

@ -75,6 +75,8 @@
[ "Jellyfin" "jellyfin" "https://media.proxy.${homelab.domain}" "http://localhost:8096/" ]
[ "VaultWarden" "vaultwarden" "https://pass.proxy.${homelab.domain}" "http://localhost:8060/" ]
[ "Ollama" "ollama" "https://ai.proxy.${homelab.domain}" "http://localhost:8080/" ]
[ "Ntfy" "ntfy" "https://notify.proxy.${homelab.domain}" "http://localhost:8067/" ]
[ "SearXNG" "searxng" "https://search.proxy.${homelab.domain}" "http://localhost:8091/" ]
[ "Dockge" "docker" "https://containers.proxy.${homelab.domain}" "http://localhost:5001/" ]
[ "Guacamole" "apacheguacamole" "https://remote.proxy.${homelab.domain}/guacamole" "http://localhost:8085/guacamole/" ]
];

View file

@ -0,0 +1,9 @@
{ homelab, ... }: {
services.ntfy-sh = {
enable = true;
settings = {
listen-http = "127.0.0.1:8067";
base-url = "https://ntfy.proxy.${homelab.domain}";
};
};
}

View file

@ -55,6 +55,8 @@ in {
enable = true;
recommendedProxySettings = true;
recommendedTlsSettings = true;
recommendedGzipSettings = true;
recommendedOptimisation = true;
virtualHosts = {
"_" = {
default = true;

View file

@ -0,0 +1,19 @@
{ ... }: {
services.searx = {
enable = true;
redisCreateLocally = true;
settings = {
server = {
bind_address = "127.0.0.1";
port = 8091;
};
general = {
debug = false;
donation_url = false;
contact_url = false;
privacy_policy_url = false;
enable_metrics = true;
};
};
};
}

View file

@ -2,7 +2,7 @@
ts-flags = [
"--advertise-exit-node"
"--advertise-routes=10.3.14.0/24,192.168.1.0/24"
"--ssh" # "--webclient"
"--ssh" "--webclient"
];
in {
imports = [
@ -12,6 +12,8 @@ in {
./homelab/gallery.nix
./homelab/tunnels.nix
./homelab/remote.nix
./homelab/notify.nix
./homelab/search.nix
./homelab/media.nix
./homelab/proxy.nix
./homelab/auth.nix