summary refs log tree commit diff
diff options
context:
space:
mode:
authorTheArcaneBrony <myrainbowdash949@gmail.com>2023-03-05 16:13:30 +0100
committerTheArcaneBrony <myrainbowdash949@gmail.com>2023-03-05 16:13:30 +0100
commit97fe664286205d42d1385c048569a2c8ec2a60fb (patch)
tree2bd0364b248d0686e375510b7cd9f85fd4a02e2f
parentAdd polkit to base (diff)
downloadRory-Open-Architecture-97fe664286205d42d1385c048569a2c8ec2a60fb.tar.xz
Add ens19 to all hosts
Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com>
-rwxr-xr-xhost/Rory-devenv/configuration.nix4
-rwxr-xr-xhost/Rory-fosscord/configuration.nix4
-rwxr-xr-xhost/Rory-nginx/configuration.nix4
-rwxr-xr-xhost/Rory-postgres/configuration.nix4
4 files changed, 16 insertions, 0 deletions
diff --git a/host/Rory-devenv/configuration.nix b/host/Rory-devenv/configuration.nix
index 5087bc9..ae1fe1a 100755
--- a/host/Rory-devenv/configuration.nix
+++ b/host/Rory-devenv/configuration.nix
@@ -12,6 +12,10 @@
       address = "192.168.1.254";
       prefixLength = 24;
     } ];
+    interfaces.ens19.ipv4.addresses = [ {
+      address = "10.10.10.254";
+      prefixLength = 16;
+    } ];
   };
 
   systemd.tmpfiles.rules = [  "d /data/pg 0750 postgres postgres" ];
diff --git a/host/Rory-fosscord/configuration.nix b/host/Rory-fosscord/configuration.nix
index d0654b2..a58ba05 100755
--- a/host/Rory-fosscord/configuration.nix
+++ b/host/Rory-fosscord/configuration.nix
@@ -15,6 +15,10 @@
       address = "192.168.1.100";
       prefixLength = 24;
     } ];
+    interfaces.ens19.ipv4.addresses = [ {
+      address = "10.10.10.100";
+      prefixLength = 16;
+    } ];
   };
 
   system.stateVersion = "22.11"; # DO NOT EDIT!
diff --git a/host/Rory-nginx/configuration.nix b/host/Rory-nginx/configuration.nix
index 1b557df..9d1a2c4 100755
--- a/host/Rory-nginx/configuration.nix
+++ b/host/Rory-nginx/configuration.nix
@@ -12,6 +12,10 @@
       address = "192.168.1.2";
       prefixLength = 24;
     } ];
+    interfaces.ens19.ipv4.addresses = [ {
+      address = "10.10.10.2";
+      prefixLength = 16;
+    } ];
   };
 
   services = {
diff --git a/host/Rory-postgres/configuration.nix b/host/Rory-postgres/configuration.nix
index 73647d6..33338c3 100755
--- a/host/Rory-postgres/configuration.nix
+++ b/host/Rory-postgres/configuration.nix
@@ -12,6 +12,10 @@
       address = "192.168.1.3";
       prefixLength = 24;
     } ];
+    interfaces.ens19.ipv4.addresses = [ {
+      address = "10.10.10.3";
+      prefixLength = 16;
+    } ];
   };
   
   systemd.tmpfiles.rules = [  "d /data/pg 0750 postgres postgres" ];