summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Cullmann <cullmann@kde.org>2023-04-29 16:30:52 +0200
committerChristoph Cullmann <cullmann@kde.org>2023-04-29 16:30:52 +0200
commitf452ce64c71eee51523c0566bfc9a48691a771d8 (patch)
treee88bcab7e47daa0b7c9619d7c33614ba9a39db2d
parent624be0a4d0dc5f2760810143b35a49ba923dcdd5 (diff)
fixup config to really use the networkd
-rw-r--r--common.nix6
1 files changed, 2 insertions, 4 deletions
diff --git a/common.nix b/common.nix
index 7ed82ab..cc1e5fe 100644
--- a/common.nix
+++ b/common.nix
@@ -91,13 +91,11 @@ in
hardware.enableAllFirmware = true;
# networking via networkd
+ networking.useDHCP = false;
systemd.network.enable = true;
systemd.network.networks."10-lan" = {
networkConfig = {
- # start a DHCP Client for IPv4 Addressing/Routing
- DHCP = "ipv4";
- # accept Router Advertisements for Stateless IPv6 Autoconfiguraton (SLAAC)
- IPv6AcceptRA = true;
+ DHCP = "yes";
};
# make routing on this interface a dependency for network-online.target
linkConfig.RequiredForOnline = "routable";