{ lib, config, ... }: { networking = { hostName = config.system.name; useDHCP = false; useNetworkd = true; }; systemd = { network = { networks = { "10-ethernet" = { matchConfig.Name = "ethernet"; DHCP = "yes"; }; }; }; }; }