From 8481fbf42b28d29d4342ae16b4ac0787c23237f8 Mon Sep 17 00:00:00 2001 From: Ember 'n0emis' Keske Date: Wed, 13 Jul 2022 20:02:56 +0200 Subject: [PATCH] adjust network config for nerd and remove old ip from nixdeploy --- hosts/nerd/configuration.nix | 14 ++++++++++++-- hosts/nixdeploy/configuration.nix | 3 +-- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/hosts/nerd/configuration.nix b/hosts/nerd/configuration.nix index 6c0a5da..3d7ef7d 100644 --- a/hosts/nerd/configuration.nix +++ b/hosts/nerd/configuration.nix @@ -19,8 +19,18 @@ matchConfig = { Name = "ens18"; }; - address = [ "10.42.10.24/24" "fd00:10:42:10::24/64" "2a01:4f8:1c0c:8221::24/64" ]; - gateway = [ "10.42.10.1" ]; + address = [ + "10.42.10.24/24" + "2a01:4f8:1c0c:8221::24/64" + ]; + gateway = [ + "10.42.10.1" + "2a01:4f8:1c0c:8221::1" + ]; + dns = [ + "10.42.10.1" + "2a01:4f8:1c0c:8221::1" + ]; }; }; diff --git a/hosts/nixdeploy/configuration.nix b/hosts/nixdeploy/configuration.nix index 4a585ec..b0dc971 100644 --- a/hosts/nixdeploy/configuration.nix +++ b/hosts/nixdeploy/configuration.nix @@ -25,14 +25,13 @@ address = [ "10.42.10.245/24" "2a01:4f8:1c0c:8221::245/64" - "2a01:4f8:1c0c:8221:1337:42:10:1/64" ]; gateway = [ "10.42.10.1" "2a01:4f8:1c0c:8221::1" ]; dns = [ - "10.42.10.245" + "10.42.10.1" "2a01:4f8:1c0c:8221::1" ]; };