From 536166d84f6ff3bfba56706dc0a1792a81895657 Mon Sep 17 00:00:00 2001 From: Michael Mandl Date: Mon, 13 Mar 2023 14:00:10 +0100 Subject: [PATCH] feat: simplify network config --- machines/apache/hardware-configuration.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/machines/apache/hardware-configuration.nix b/machines/apache/hardware-configuration.nix index 8e8ca86..300113e 100644 --- a/machines/apache/hardware-configuration.nix +++ b/machines/apache/hardware-configuration.nix @@ -34,8 +34,7 @@ swapDevices = [{ device = "/dev/disk/by-uuid/9b775e18-ab8c-4647-9ab1-a51391af6d6d"; }]; - networking.interfaces.enp4s0.useDHCP = lib.mkDefault true; - networking.interfaces.wlp3s0.useDHCP = lib.mkDefault true; + networking.useDHCP = lib.mkDefault true; hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; }