summary refs log tree commit diff
path: root/host/Rory-nginx/configuration.nix
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2024-07-03 20:04:37 +0200
committerRory& <root@rory.gay>2024-07-04 14:45:02 +0200
commit786eb433a3242934624973fcce6b07323e5fc055 (patch)
treee37bf1ad9de868dff1bc41320479d64f6d7739a8 /host/Rory-nginx/configuration.nix
parentUpdate flake inputs, disable showing diffs for flake.lock (diff)
downloadRory-Open-Architecture-786eb433a3242934624973fcce6b07323e5fc055.tar.xz
Server cleanup
Diffstat (limited to 'host/Rory-nginx/configuration.nix')
-rwxr-xr-xhost/Rory-nginx/configuration.nix14
1 files changed, 10 insertions, 4 deletions
diff --git a/host/Rory-nginx/configuration.nix b/host/Rory-nginx/configuration.nix
index 9221781..648d8d5 100755
--- a/host/Rory-nginx/configuration.nix
+++ b/host/Rory-nginx/configuration.nix
@@ -35,6 +35,12 @@
 #      127.0.0.1 matrix.rory.gay
 #      127.0.0.1 conduit.rory.gay
 #      '';
+    nat = {
+      enable = true;
+      internalInterfaces = [ "ve-+" "vb-+" ];
+      externalInterface = "ens18";
+      #enableIPv6 = true;
+    };
   };
 
   environment.memoryAllocator.provider = "jemalloc";
@@ -54,10 +60,10 @@
     conduit = conduit;
   };
 
-  containers."conduwuit-throwaway" = import ./services/containers/conduwuit-throwaway/container.nix {
-    inherit pkgs lib;
-    conduit = conduwuit;
-  };
+  #containers."conduwuit-throwaway" = import ./services/containers/conduwuit-throwaway/container.nix {
+  #  inherit pkgs lib;
+  #  conduit = conduwuit;
+  #};
 
   system.stateVersion = "22.11"; # DO NOT EDIT!
 }