From 646e27dee1db43517aa92407fb8459f8e3437191 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Duje=20Mihanovi=C4=87?= Date: Thu, 14 Sep 2023 14:53:00 +0200 Subject: [PATCH] Switch network config to DHCP --- configuration.nix | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/configuration.nix b/configuration.nix index 76fb2d9..b679930 100644 --- a/configuration.nix +++ b/configuration.nix @@ -21,13 +21,7 @@ enable = true; networks."10-lan" = { matchConfig.Name = "eno1"; - address = [ - "192.168.1.30/24" - ]; - routes = [ - { routeConfig.Gateway = "192.168.1.1"; } - ]; - dns = [ "192.168.1.1" ]; + DHCP = "yes"; linkConfig.RequiredForOnline = "routable"; }; }; -- 2.39.5