delft/common: disable useDHCP
This environment provides no DHCP anyway, and we use networkd for network configuration. Disables dhcpcd.
Martin Weinelt committed
Feb 11, 2024 at 20:48 UTC
7666566bb24435190327eb05609fee22396a0bce
2 files changed
+2
-1
delft/common.nix
+2
@@ -57,6 +57,8 @@ with lib;
57
allowed-uris = https://github.com/ https://git.savannah.gnu.org/ github:
58
'';
59
60
+ networking.useDHCP = false;
61
+
62
networking.firewall.enable = true;
63
networking.firewall.rejectPackets = true;
64
networking.firewall.allowPing = true;
delft/rhea/hetzner.nix
-1
@@ -4,7 +4,6 @@
4
5
networking.hostId = "9cd372da";
6
networking.useNetworkd = true;
7
- networking.useDHCP = false;
7
systemd.network.networks."40-enp7s0" = {
8
matchConfig = {
9
MACAddress = "50:eb:f6:22:f0:3a";