add ntfy and searxng along with other tweaks
This commit is contained in:
parent
da966f1522
commit
95dfaa9888
5 changed files with 35 additions and 1 deletions
|
|
@ -75,6 +75,8 @@
|
||||||
[ "Jellyfin" "jellyfin" "https://media.proxy.${homelab.domain}" "http://localhost:8096/" ]
|
[ "Jellyfin" "jellyfin" "https://media.proxy.${homelab.domain}" "http://localhost:8096/" ]
|
||||||
[ "VaultWarden" "vaultwarden" "https://pass.proxy.${homelab.domain}" "http://localhost:8060/" ]
|
[ "VaultWarden" "vaultwarden" "https://pass.proxy.${homelab.domain}" "http://localhost:8060/" ]
|
||||||
[ "Ollama" "ollama" "https://ai.proxy.${homelab.domain}" "http://localhost:8080/" ]
|
[ "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/" ]
|
[ "Dockge" "docker" "https://containers.proxy.${homelab.domain}" "http://localhost:5001/" ]
|
||||||
[ "Guacamole" "apacheguacamole" "https://remote.proxy.${homelab.domain}/guacamole" "http://localhost:8085/guacamole/" ]
|
[ "Guacamole" "apacheguacamole" "https://remote.proxy.${homelab.domain}/guacamole" "http://localhost:8085/guacamole/" ]
|
||||||
];
|
];
|
||||||
|
|
|
||||||
9
modules/system/homelab/notify.nix
Normal file
9
modules/system/homelab/notify.nix
Normal 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}";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -55,6 +55,8 @@ in {
|
||||||
enable = true;
|
enable = true;
|
||||||
recommendedProxySettings = true;
|
recommendedProxySettings = true;
|
||||||
recommendedTlsSettings = true;
|
recommendedTlsSettings = true;
|
||||||
|
recommendedGzipSettings = true;
|
||||||
|
recommendedOptimisation = true;
|
||||||
virtualHosts = {
|
virtualHosts = {
|
||||||
"_" = {
|
"_" = {
|
||||||
default = true;
|
default = true;
|
||||||
|
|
|
||||||
19
modules/system/homelab/search.nix
Normal file
19
modules/system/homelab/search.nix
Normal 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;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
ts-flags = [
|
ts-flags = [
|
||||||
"--advertise-exit-node"
|
"--advertise-exit-node"
|
||||||
"--advertise-routes=10.3.14.0/24,192.168.1.0/24"
|
"--advertise-routes=10.3.14.0/24,192.168.1.0/24"
|
||||||
"--ssh" # "--webclient"
|
"--ssh" "--webclient"
|
||||||
];
|
];
|
||||||
in {
|
in {
|
||||||
imports = [
|
imports = [
|
||||||
|
|
@ -12,6 +12,8 @@ in {
|
||||||
./homelab/gallery.nix
|
./homelab/gallery.nix
|
||||||
./homelab/tunnels.nix
|
./homelab/tunnels.nix
|
||||||
./homelab/remote.nix
|
./homelab/remote.nix
|
||||||
|
./homelab/notify.nix
|
||||||
|
./homelab/search.nix
|
||||||
./homelab/media.nix
|
./homelab/media.nix
|
||||||
./homelab/proxy.nix
|
./homelab/proxy.nix
|
||||||
./homelab/auth.nix
|
./homelab/auth.nix
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue