summary refs log tree commit diff
path: root/host/Rory-nginx/services/containers/pluralcontactbotpoc/container.nix
diff options
context:
space:
mode:
Diffstat (limited to 'host/Rory-nginx/services/containers/pluralcontactbotpoc/container.nix')
-rwxr-xr-xhost/Rory-nginx/services/containers/pluralcontactbotpoc/container.nix40
1 files changed, 26 insertions, 14 deletions
diff --git a/host/Rory-nginx/services/containers/pluralcontactbotpoc/container.nix b/host/Rory-nginx/services/containers/pluralcontactbotpoc/container.nix
index f1ddb3f..4ddffeb 100755
--- a/host/Rory-nginx/services/containers/pluralcontactbotpoc/container.nix
+++ b/host/Rory-nginx/services/containers/pluralcontactbotpoc/container.nix
@@ -1,26 +1,38 @@
-{ pkgs, lib, conduit, ... }:
+{
+  pkgs,
+  lib,
+  conduit,
+  ...
+}:
 
 {
   privateNetwork = true;
   autoStart = true;
   specialArgs = {
     inherit conduit;
-  };  
-  config = { lib, pkgs, conduit, ... }: {
-    imports = [ ./root.nix ];
-    environment.etc."resolv.conf".text = ''
-      nameserver 8.8.8.8
-      nameserver 8.4.4.8
-      nameserver 1.1.1.1
-      nameserver 1.0.0.1
+  };
+  config =
+    {
+      lib,
+      pkgs,
+      conduit,
+      ...
+    }:
+    {
+      imports = [ ./root.nix ];
+      environment.etc."resolv.conf".text = ''
+        nameserver 8.8.8.8
+        nameserver 8.4.4.8
+        nameserver 1.1.1.1
+        nameserver 1.0.0.1
       '';
-    networking.firewall = {
-      enable = true;
-      allowedTCPPorts = [ 80 ];  
+      networking.firewall = {
+        enable = true;
+        allowedTCPPorts = [ 80 ];
+      };
     };
-  };  
   hostAddress = "192.168.100.10";
   localAddress = "192.168.100.11";
   hostAddress6 = "fc00::1";
   localAddress6 = "fc00::2";
-}
\ No newline at end of file
+}