From 600d1f755f7e8ecd9c252f9b3844809fd2bee05d Mon Sep 17 00:00:00 2001 From: Brendan Golden Date: Sat, 25 Nov 2023 22:40:36 +0000 Subject: [PATCH] [skip ci] Removed unused network configuration, its fully set in proxmox --- machines/skynet.nix | 38 ++------------------------------------ 1 file changed, 2 insertions(+), 36 deletions(-) diff --git a/machines/skynet.nix b/machines/skynet.nix index 250f069..ee8ea13 100644 --- a/machines/skynet.nix +++ b/machines/skynet.nix @@ -18,7 +18,8 @@ Notes: Does not host offical sites name = "skynet"; # DMZ that ITD provided ip_pub = "193.1.96.165"; - ip_int = "193.1.99.81"; + # for internal network connectivity + ip_int = "193.1.99.82"; hostname = "${name}.skynet.ie"; in { imports = [ @@ -53,41 +54,6 @@ in { name = name; }; - proxmoxLXC.manageNetwork = true; - networking = { - hostName = name; - # needed to use the dmz first - defaultGateway = lib.mkForce "193.1.96.161"; - - interfaces = { - # need it for dns validation for letsencrypt - eth0.ipv4 = { - addresses = [ - { - address = ip_int; - prefixLength = 26; - } - ]; - routes = [ - { - # need to be able to get to the dns server - address = "193.1.99.120"; - prefixLength = 26; - via = "193.1.99.65"; - } - ]; - }; - - # primary ip for logging in - eth1.ipv4.addresses = [ - { - address = ip_pub; - prefixLength = 28; - } - ]; - }; - }; - services.skynet_users = { host = { ip = ip_pub;