From 78bd58519cfa67ea3ace4bd260f2415a32b7b7b1 Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Fri, 29 Nov 2024 00:44:11 +0300 Subject: [PATCH] Desktop: Use dhcp. --- host/x86_64-linux/dasha/Network.nix | 3 +-- host/x86_64-linux/desktop/Network.nix | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/host/x86_64-linux/dasha/Network.nix b/host/x86_64-linux/dasha/Network.nix index 75671df..3fb9154 100644 --- a/host/x86_64-linux/dasha/Network.nix +++ b/host/x86_64-linux/dasha/Network.nix @@ -5,8 +5,7 @@ matchConfig.Name = "enp5s0"; linkConfig.RequiredForOnline = "routable"; networkConfig = { - DHCP = "ipv4"; - DNS = "10.0.0.1"; + DHCP = "yes"; IPv6AcceptRA = true; }; address = [ diff --git a/host/x86_64-linux/desktop/Network.nix b/host/x86_64-linux/desktop/Network.nix index dfe7296..6114be0 100644 --- a/host/x86_64-linux/desktop/Network.nix +++ b/host/x86_64-linux/desktop/Network.nix @@ -5,8 +5,7 @@ matchConfig.Name = "enp4s0"; linkConfig.RequiredForOnline = "routable"; networkConfig = { - DHCP = "ipv4"; - DNS = "10.0.0.1"; + DHCP = "yes"; IPv6AcceptRA = true; }; address = [