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

@ -17,6 +17,14 @@
networking.hostName = "beta";
networking.hostId = "c07bab49";
# use NetworkManager, if we have WiFi, allows Plasma to manage connections
# use iwd, only thing that works properly on e.g. Macs
networking.networkmanager.enable = true;
networking.wireless.iwd = {
enable = true;
settings.General.EnableNetworkConfiguration = true;
};
# german laptop keyboard
services.xserver.xkb.layout = "de";
}

View file

@ -17,6 +17,10 @@
networking.hostName = "miku";
networking.hostId = "4d00f481";
# just classic DHCP, wired only
networking.networkmanager.enable = false;
networking.useDHCP = true;
# EurKey layout
services.xserver.xkb.layout = "eu";
}

View file

@ -17,6 +17,10 @@
networking.hostName = "neko";
networking.hostId = "4836f248";
# just classic DHCP, wired only
networking.networkmanager.enable = false;
networking.useDHCP = true;
# EurKey layout
services.xserver.xkb.layout = "eu";
}

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;

View file

@ -18,6 +18,14 @@
networking.hostName = "zeta";
networking.hostId = "cce4e4c1";
# use NetworkManager, if we have WiFi, allows Plasma to manage connections
# use iwd, only thing that works properly on e.g. Macs
networking.networkmanager.enable = true;
networking.wireless.iwd = {
enable = true;
settings.General.EnableNetworkConfiguration = true;
};
# german laptop keyboard
services.xserver.xkb.layout = "de";
}