From 002ecdf681c80004c60840c68408b8caaeeb6a2e Mon Sep 17 00:00:00 2001 From: Natsu Kagami Date: Wed, 27 Sep 2023 14:26:10 +0200 Subject: [PATCH] No more dhcpcd --- modules/common/linux/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/common/linux/default.nix b/modules/common/linux/default.nix index 9286347..d9249b4 100644 --- a/modules/common/linux/default.nix +++ b/modules/common/linux/default.nix @@ -179,9 +179,11 @@ in ## Network configuration systemd.network.enable = true; + networking.dhcpcd.enable = lib.mkForce false; systemd.network.wait-online.enable = false; networking.hostName = cfg.networking.hostname; networking.wireless.iwd.enable = true; + networking.wireless.iwd.settings.General.EnableNetworkConfiguration = true; systemd.network.networks = builtins.mapAttrs (name: cfg: { matchConfig.Name = cfg.match;