hosts/ni: switch wireless setup to default

Surprised it has lasted this long, really.
This commit is contained in:
Gabriel Arazas 2023-12-23 18:34:12 +08:00
parent 26dbaba4ae
commit 2df2bd2104
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC

View File

@ -14,29 +14,6 @@
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
# The simpler WiFi manager.
networking.wireless.iwd = {
enable = true;
settings = {
General = {
EnableNetworkConfiguration = true;
ControlPortOverNL80211 = true;
};
Network.NameResolvingService = "systemd";
Settings.AutoConnect = true;
};
};
# Welp....
systemd.network.links."80-iwd" = {
matchConfig = lib.mkForce { };
linkConfig = lib.mkForce { };
};
# Set the NetworkManager backend to iwd for workflows that use it.
networking.networkmanager.wifi.backend = "iwd";
# Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot = {
enable = true;