summary refs log tree commit diff
diff options
context:
space:
mode:
-rwxr-xr-xhost/Rory-nginx/services/containers/draupnir-cme/root.nix9
1 files changed, 4 insertions, 5 deletions
diff --git a/host/Rory-nginx/services/containers/draupnir-cme/root.nix b/host/Rory-nginx/services/containers/draupnir-cme/root.nix
index 6725c3b..3802ee2 100755
--- a/host/Rory-nginx/services/containers/draupnir-cme/root.nix
+++ b/host/Rory-nginx/services/containers/draupnir-cme/root.nix
@@ -33,11 +33,10 @@
     nameserver 1.0.0.1
   '';
 
-  environment.etc."hosts".text = ''
-    192.168.100.16 matrix.rory.gay
-    192.168.100.16 rory.gay
-  '';
-
+  networking.hosts = {
+    "192.168.100.16" = [ "matrix.rory.gay" "rory.gay" ];
+  }
+  
   networking.firewall = {
     enable = true;
   };