aboutsummaryrefslogtreecommitdiff
path: root/machines
diff options
context:
space:
mode:
authorMax Audron <audron@cocaine.farm>2024-02-21 12:51:40 +0100
committerMax Audron <audron@cocaine.farm>2024-02-21 12:51:40 +0100
commit1de482e1959d5d2d9a69f181cbb1d77fb6a8d36d (patch)
tree01ec52c1959657409457a6927c241fec7cef1b4e /machines
parentupdate nixpkgs-unstable (diff)
set network manually for ns servers
Diffstat (limited to 'machines')
-rw-r--r--machines/fra01/default.nix17
-rw-r--r--machines/nyc01/default.nix17
-rw-r--r--machines/sin01/default.nix17
3 files changed, 51 insertions, 0 deletions
diff --git a/machines/fra01/default.nix b/machines/fra01/default.nix
index 9d94143..d6984e7 100644
--- a/machines/fra01/default.nix
+++ b/machines/fra01/default.nix
@@ -6,6 +6,23 @@ in
networking = {
domain = "ns.vapor.systems";
hostName = "fra01";
+ dhcpcd.enable = false;
+ interfaces.eth0 = {
+ ipv4.addresses = [{
+ address = "95.179.243.82";
+ prefixLength = 23;
+ }];
+ ipv6.addresses = [{
+ address = "2001:19f0:6c01:28e5:5400:3ff:fed7:7a2a";
+ prefixLength = 64;
+ }];
+ };
+
+ defaultGateway = "95.179.242.1";
+ defaultGateway6 = {
+ address = "fe80::fc00:3ff:fed7:7a2a";
+ interface = "eth0";
+ };
};
pubKey =
diff --git a/machines/nyc01/default.nix b/machines/nyc01/default.nix
index b295d1a..83c346d 100644
--- a/machines/nyc01/default.nix
+++ b/machines/nyc01/default.nix
@@ -6,6 +6,23 @@ in
networking = {
domain = "ns.vapor.systems";
hostName = "nyc01";
+
+ interfaces.eth0 = {
+ ipv4.addresses = [{
+ address = "207.246.124.62";
+ prefixLength = 23;
+ }];
+ ipv6.addresses = [{
+ address = "2001:19f0:5:13df:5400:3ff:fed5:f26c";
+ prefixLength = 64;
+ }];
+ };
+
+ defaultGateway = "207.246.124.1";
+ defaultGateway6 = {
+ address = "fe80::fc00:3ff:fed5:f26c";
+ interface = "eth0";
+ };
};
pubKey =
diff --git a/machines/sin01/default.nix b/machines/sin01/default.nix
index 5cf3d72..0827772 100644
--- a/machines/sin01/default.nix
+++ b/machines/sin01/default.nix
@@ -6,6 +6,23 @@ in
networking = {
domain = "ns.vapor.systems";
hostName = "sin01";
+
+ interfaces.eth0 = {
+ ipv4.addresses = [{
+ address = "139.180.191.169";
+ prefixLength = 23;
+ }];
+ ipv6.addresses = [{
+ address = "2001:19f0:4400:7d6a:5400:3ff:fed5:f26d";
+ prefixLength = 64;
+ }];
+ };
+
+ defaultGateway = "139.180.190.1";
+ defaultGateway6 = {
+ address = "fe80::fc00:3ff:fed5:f26d";
+ interface = "eth0";
+ };
};
pubKey =