From d2174e5915793f587e32819297faac539fb5d616 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Sun, 4 Feb 2024 21:57:00 +0100 Subject: [PATCH] home-assistant: try to fix DHCP --- hosts/home-assistant/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hosts/home-assistant/default.nix b/hosts/home-assistant/default.nix index 8d41d15d..f4e4b181 100644 --- a/hosts/home-assistant/default.nix +++ b/hosts/home-assistant/default.nix @@ -24,10 +24,12 @@ in linkConfig.Name = "c3d2"; }; networks."40-c3d2" = { + dhcpV4Config.UseRoutes = "no"; matchConfig.MACAddress = c3d2MacAddress; networkConfig = { - LinkLocalAddressing = "yes"; + DHCP = "yes"; IPv6AcceptRA = "no"; + LinkLocalAddressing = "yes"; }; }; };