From f4ee1ff86c0c81814e1d3753bdb42d93a564af34 Mon Sep 17 00:00:00 2001 From: Adithya Nair Date: Sat, 19 Aug 2023 23:40:39 +0530 Subject: [PATCH] manage ethernet if exists --- hosts/skipper/network.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/hosts/skipper/network.nix b/hosts/skipper/network.nix index 2267953..105a954 100644 --- a/hosts/skipper/network.nix +++ b/hosts/skipper/network.nix @@ -21,6 +21,21 @@ systemd.network = { enable = true; networks = { + "41-ether" = { + enable = true; + matchConfig = { + Type = "ether"; + }; + networkConfig = { + DHCP = "yes"; + }; + dhcpV4Config = { + UseDomains = true; + }; + ipv6AcceptRAConfig = { + UseDomains = true; + }; + }; "40-wireless" = { enable = true; matchConfig = {