From cabdd4aa51d5c1eb4ef7f7b9f63497ea252cc715 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Thu, 2 Jul 2020 20:27:23 +0100 Subject: fix(whitby): Explicitly set an interface for the v6 default gw systemd gets sad otherwise and it is very difficult to console it Change-Id: Ic6405489532c407273e5634474185f2947420b37 Reviewed-on: https://cl.tvl.fyi/c/depot/+/851 Reviewed-by: glittershark Reviewed-by: BuildkiteCI Tested-by: BuildkiteCI --- ops/nixos/whitby/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ops/nixos/whitby/default.nix b/ops/nixos/whitby/default.nix index eafd03a69e7e..079131005147 100644 --- a/ops/nixos/whitby/default.nix +++ b/ops/nixos/whitby/default.nix @@ -90,7 +90,11 @@ in systemForConfig { hostName = "whitby"; hostId = "b38ca543"; useDHCP = false; - defaultGateway6 = "fe80::1"; + + defaultGateway6 = { + address = "fe80::1"; + interface = "enp196s0"; + }; firewall.allowedTCPPorts = [ 22 80 443 ]; -- cgit 1.4.1