feat: simplify network config

This commit is contained in:
Michael Mandl 2023-03-13 14:00:10 +01:00
parent 1420de7bfc
commit 536166d84f
Signed by: mandlm
GPG key ID: 4AA25D647AA54CC7

View file

@ -34,8 +34,7 @@
swapDevices = swapDevices =
[{ device = "/dev/disk/by-uuid/9b775e18-ab8c-4647-9ab1-a51391af6d6d"; }]; [{ device = "/dev/disk/by-uuid/9b775e18-ab8c-4647-9ab1-a51391af6d6d"; }];
networking.interfaces.enp4s0.useDHCP = lib.mkDefault true; networking.useDHCP = lib.mkDefault true;
networking.interfaces.wlp3s0.useDHCP = lib.mkDefault true;
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
} }