diff --git a/modules/system/homelab/dash.nix b/modules/system/homelab/dash.nix index fd8c9f0..97ddade 100644 --- a/modules/system/homelab/dash.nix +++ b/modules/system/homelab/dash.nix @@ -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/" ] ]; diff --git a/modules/system/homelab/notify.nix b/modules/system/homelab/notify.nix new file mode 100644 index 0000000..48fbd12 --- /dev/null +++ b/modules/system/homelab/notify.nix @@ -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}"; + }; + }; +} \ No newline at end of file diff --git a/modules/system/homelab/proxy.nix b/modules/system/homelab/proxy.nix index 85671a5..206abed 100644 --- a/modules/system/homelab/proxy.nix +++ b/modules/system/homelab/proxy.nix @@ -55,6 +55,8 @@ in { enable = true; recommendedProxySettings = true; recommendedTlsSettings = true; + recommendedGzipSettings = true; + recommendedOptimisation = true; virtualHosts = { "_" = { default = true; diff --git a/modules/system/homelab/search.nix b/modules/system/homelab/search.nix new file mode 100644 index 0000000..3c41aed --- /dev/null +++ b/modules/system/homelab/search.nix @@ -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; + }; + }; + }; +} \ No newline at end of file diff --git a/modules/system/server.nix b/modules/system/server.nix index fc7e686..e86d6fa 100644 --- a/modules/system/server.nix +++ b/modules/system/server.nix @@ -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