18 lines
382 B
Nix
18 lines
382 B
Nix
|
{
|
||
|
imports = [ ../networkd.nix ];
|
||
|
# use iwd instead of wpa_supplicant
|
||
|
networking.wireless.enable = false;
|
||
|
|
||
|
# Use iwd instead of wpa_supplicant. It has a user friendly CLI
|
||
|
networking.wireless.iwd = {
|
||
|
enable = true;
|
||
|
settings = {
|
||
|
Network = {
|
||
|
EnableIPv6 = true;
|
||
|
RoutePriorityOffset = 300;
|
||
|
};
|
||
|
Settings.AutoConnect = true;
|
||
|
};
|
||
|
};
|
||
|
}
|