summary refs log tree commit diff
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2024-11-04 07:14:53 +0100
committerRory& <root@rory.gay>2024-11-04 07:14:53 +0100
commit0f92c523807a60328d52cfd3b45822341d0989fa (patch)
tree36ceb321a891dacef6d714fdae0f6e2de07ab372
parentAutodiscover (diff)
downloadRory-Open-Architecture-0f92c523807a60328d52cfd3b45822341d0989fa.tar.xz
Autodiscover should be imported
-rwxr-xr-xhost/Rory-nginx/configuration.nix3
-rw-r--r--host/Rory-nginx/services/email/root.nix8
2 files changed, 9 insertions, 2 deletions
diff --git a/host/Rory-nginx/configuration.nix b/host/Rory-nginx/configuration.nix
index bac5644..7d0903e 100755
--- a/host/Rory-nginx/configuration.nix
+++ b/host/Rory-nginx/configuration.nix
@@ -25,8 +25,7 @@
     #./services/ollama.nix
     ./services/prometheus.nix
     
-    ./services/email/maddy.nix
-    ./services/email/nginx.nix
+    ./services/email/root.nix
   ];
   users.groups.ocp = { };
   networking = {
diff --git a/host/Rory-nginx/services/email/root.nix b/host/Rory-nginx/services/email/root.nix
new file mode 100644
index 0000000..7db85d8
--- /dev/null
+++ b/host/Rory-nginx/services/email/root.nix
@@ -0,0 +1,8 @@
+{ ... }:
+{
+  imports = [
+    ./autoconfig.nix
+    ./maddy.nix
+    ./nginx.nix
+  ];
+}