From 435d5ea61bb290615e7deb8da45f90b6280d4f08 Mon Sep 17 00:00:00 2001 From: Nathan McCarty Date: Sat, 10 Sep 2022 23:54:57 -0400 Subject: [PATCH] Setup searx --- machines/oracles/configuration.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/machines/oracles/configuration.nix b/machines/oracles/configuration.nix index 8a1962f..cc5f183 100644 --- a/machines/oracles/configuration.nix +++ b/machines/oracles/configuration.nix @@ -234,4 +234,17 @@ }; }; + # Setup searx-ng docker + virtualisation.oci-containers.containers."searx-ng" = { + image = "searxng/searxng"; + autoStart = true; + ports = [ "8091:8080" ]; + }; + services.nginx.virtualHosts."searx-ng.mccarty.io" = { + enableACME = true; + forceSSL = true; + locations."/" = { + proxyPass = "http://localhost:8091"; + }; + }; }