try to fix network config to work on Macs, too

This commit is contained in:
Christoph Cullmann 2025-07-04 19:29:05 +02:00
parent 8bbe4a46aa
commit 81770375e2
No known key found for this signature in database
5 changed files with 25 additions and 8 deletions

View file

@ -234,15 +234,8 @@ in
# allow all firmware
hardware.enableAllFirmware = true;
# use NetworkManager, works well for WiFi, too
networking.networkmanager.enable = true;
# use iwd, only thing that works properly on e.g. Macs
# never the wireless variant, we use iwd, if at all
networking.wireless.enable = false;
networking.wireless.iwd = {
enable = true;
settings.General.EnableNetworkConfiguration = true;
};
# ensure firewall is up, allow ssh in
networking.firewall.enable = true;