From 1e22c814c51c38662b6c26ff9b2426f2f6361e56 Mon Sep 17 00:00:00 2001 From: Brendan Golden Date: Thu, 20 Apr 2023 14:07:26 +0100 Subject: [PATCH] feat: switching over to using domain names --- machines/agentjones.nix | 3 +-- machines/galatea.nix | 3 +-- machines/optimus.nix | 3 +-- machines/vendetta.nix | 3 +-- machines/vigil.nix | 3 +-- 5 files changed, 5 insertions(+), 10 deletions(-) diff --git a/machines/agentjones.nix b/machines/agentjones.nix index 3ab581f..42f808d 100644 --- a/machines/agentjones.nix +++ b/machines/agentjones.nix @@ -15,8 +15,7 @@ let name = "agentjones"; ip_pub = "193.1.99.72"; ip_priv = "172.20.20.1"; - # hostname = "${name}.skynet.ie"; - hostname = ip_pub; + hostname = "${name}.skynet.ie"; in { imports = [ diff --git a/machines/galatea.nix b/machines/galatea.nix index fc7ed21..38990d9 100644 --- a/machines/galatea.nix +++ b/machines/galatea.nix @@ -16,8 +16,7 @@ let name = "galatea"; ip_pub = "193.1.99.111"; ip_priv = "172.20.20.6"; - # hostname = "${name}.skynet.ie"; - hostname = ip_pub; + hostname = "${name}.skynet.ie"; # dosent seem to be any otehr way to have it like read from a file feck = "d9J4jDsJPuMPUMAAE4J4tH37HsmxEDze"; diff --git a/machines/optimus.nix b/machines/optimus.nix index c440269..db8b4d5 100644 --- a/machines/optimus.nix +++ b/machines/optimus.nix @@ -16,8 +16,7 @@ let name = "optimus"; ip_pub = "193.1.99.112"; ip_priv = "172.20.20.7"; - # hostname = "${name}.skynet.ie"; - hostname = ip_pub; + hostname = "${name}.skynet.ie"; in { imports = [ diff --git a/machines/vendetta.nix b/machines/vendetta.nix index 325c888..7a9b841 100644 --- a/machines/vendetta.nix +++ b/machines/vendetta.nix @@ -16,8 +16,7 @@ let name = "vendetta"; ip_pub = "193.1.99.120"; ip_priv = "172.20.20.3"; - # hostname = "${name}.skynet.ie"; - hostname = ip_pub; + hostname = "${name}.skynet.ie"; # sets which nameserver it is ns = "ns1"; diff --git a/machines/vigil.nix b/machines/vigil.nix index cd76422..8172daa 100644 --- a/machines/vigil.nix +++ b/machines/vigil.nix @@ -15,8 +15,7 @@ let name = "vigil"; ip_pub = "193.1.99.109"; ip_priv = "172.20.20.4"; - # hostname = "${name}.skynet.ie"; - hostname = ip_pub; + hostname = "${name}.skynet.ie"; # sets which nameserver it is ns = "ns2";