No more dhcpcd

This commit is contained in:
Natsu Kagami 2023-09-27 14:26:10 +02:00
parent 470422b5a5
commit 002ecdf681
Signed by: nki
GPG key ID: 55A032EB38B49ADB

View file

@ -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;