From cc71a129604fe3249253061c0a7d74bbcf80d44e Mon Sep 17 00:00:00 2001 From: Sense T Date: Sat, 30 Sep 2023 12:25:01 +0000 Subject: [PATCH] use dhcp --- hardware-configuration.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/hardware-configuration.nix b/hardware-configuration.nix index 74d545c..031aca9 100644 --- a/hardware-configuration.nix +++ b/hardware-configuration.nix @@ -85,6 +85,7 @@ "2400:3200:baba::1" ]; networking.interfaces.eth0 = { + useDHCP = true; ipv4.addresses = [{ address = "192.168.1.42"; prefixLength = 24;