From 97fe664286205d42d1385c048569a2c8ec2a60fb Mon Sep 17 00:00:00 2001 From: TheArcaneBrony Date: Sun, 5 Mar 2023 16:13:30 +0100 Subject: Add ens19 to all hosts Signed-off-by: TheArcaneBrony --- host/Rory-devenv/configuration.nix | 4 ++++ host/Rory-fosscord/configuration.nix | 4 ++++ host/Rory-nginx/configuration.nix | 4 ++++ host/Rory-postgres/configuration.nix | 4 ++++ 4 files changed, 16 insertions(+) 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" ]; -- cgit 1.5.1