mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 10:58:02 +00:00
hosts/ni: switch to iwd for wireless network configuration
This commit is contained in:
parent
1429b02552
commit
8369ea4145
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user