From 0ff6a693a6268adb915a654bd17c35b7dd2f3d8d Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Thu, 28 Nov 2024 22:06:31 +0300 Subject: [PATCH] Network: Use networkd. --- system/Network.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/system/Network.nix b/system/Network.nix index aed97f63..700f6a9b 100644 --- a/system/Network.nix +++ b/system/Network.nix @@ -2,8 +2,14 @@ lib, ... }: { + # REF: https://nixos.wiki/wiki/Systemd-networkd + systemd.network = { + enable = true; + wait-online.enable = false; # So we can use both NM and networkd. + }; + networking = { - useDHCP = lib.mkDefault true; networkmanager.enable = true; + dhcpcd.enable = false; }; }