From c2d6d4090d2459160d81ffd1932a43eac8dcbcb7 Mon Sep 17 00:00:00 2001 From: Thomas Boerger Date: Thu, 17 Nov 2022 13:32:31 +0100 Subject: [PATCH] fix: use right interface for gateway on niflheim --- servers/niflheim/networking.nix | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/servers/niflheim/networking.nix b/servers/niflheim/networking.nix index 4d716a7..d148488 100644 --- a/servers/niflheim/networking.nix +++ b/servers/niflheim/networking.nix @@ -3,8 +3,16 @@ { networking = { hostName = "niflheim"; - defaultGateway = "176.9.93.193"; - defaultGateway6 = "fe80::1"; + + defaultGateway = { + address = "176.9.93.193"; + interface = "enp3s0"; + }; + + defaultGateway6 = { + address = "fe80::1"; + interface = "enp3s0"; + }; nameservers = [ "1.1.1.1"