From 1f8c1f92e13acace7fc3b25f589af6e9e8d1b7c1 Mon Sep 17 00:00:00 2001 From: Brendan Golden Date: Thu, 20 Apr 2023 09:16:28 +0100 Subject: [PATCH] fix: set dns and gateway for alls ervers --- machines/_base.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/machines/_base.nix b/machines/_base.nix index 9c84eac..f09a079 100644 --- a/machines/_base.nix +++ b/machines/_base.nix @@ -25,6 +25,21 @@ }; + networking = { + # explisitly stating this is good + defaultGateway = "193.1.99.65"; + + # cannot use our own it seems? + nameservers = [ + # pulled these from eduroam to get up and running + "10.220.1.10" + "10.220.1.11" + "10.150.100.10" + "10.150.100.11" + ]; + }; + + environment.systemPackages = [ # for flakes pkgs.git