hosts/ni: switch to iwd for wireless network configuration

This commit is contained in:
Gabriel Arazas 2023-03-09 11:43:47 +08:00
parent 1429b02552
commit 8369ea4145
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC

View File

@ -10,6 +10,26 @@
interfaces.enp1s0.useDHCP = true;
interfaces.wlp2s0.useDHCP = true;
# The simpler WiFi manager.
wireless.iwd = {
enable = true;
settings = {
General = {
EnableNetworkConfiguration = true;
UseDefaultInterface = true;
ControlPortOverNL80211 = true;
};
Network = {
AutoConnect = true;
NameResolvingService = "systemd";
};
};
};
# Set the NetworkManager backend to iwd for workflows that use it.
networkmanager.wifi.backend = "iwd";
bonds.bond0 = {
driverOptions = {
miimon = "100";