summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usecases/server/searx.nix11
1 files changed, 11 insertions, 0 deletions
diff --git a/usecases/server/searx.nix b/usecases/server/searx.nix
index 55fbc30..a0894b4 100644
--- a/usecases/server/searx.nix
+++ b/usecases/server/searx.nix
@@ -18,6 +18,10 @@ inputs:
18 default_theme = "oscar"; 18 default_theme = "oscar";
19 theme_args.oscar_style = "logicodev-dark"; 19 theme_args.oscar_style = "logicodev-dark";
20 }; 20 };
21
22 # TODO: setup url here
23 # TODO: make this work
24 #result_proxy.key = "!!binary \"${config.services.morty.key}\"";
21 }; 25 };
22 }; 26 };
23 27
@@ -25,4 +29,11 @@ inputs:
25 assertion = config.services.searx.environmentFile != null; 29 assertion = config.services.searx.environmentFile != null;
26 message = "Please define a Searx environment file with your secrets"; 30 message = "Please define a Searx environment file with your secrets";
27 }]; 31 }];
32
33 services.morty = {
34 enable = true;
35 port = 3002;
36 };
37
38 # TODO: setup the reverse proxy here
28} 39}