rework multicast support

This commit is contained in:
Jörg Thalheim
2024-04-17 10:56:37 +02:00
parent 059e4efcdc
commit 8658e1694a
2 changed files with 3 additions and 12 deletions

View File

@@ -74,14 +74,9 @@
systemd.services.NetworkManager-wait-online.enable = false;
systemd.network.wait-online.enable = false;
systemd.network.networks."99-ethernet-default-dhcp".networkConfig = {
MulticastDNS = lib.mkDefault "yes";
LLMNR = lib.mkDefault "yes";
};
systemd.network.networks."99-wireless-client-dhcp".networkConfig = {
MulticastDNS = lib.mkDefault "yes";
LLMNR = lib.mkDefault "yes";
};
systemd.network.networks."99-ethernet-default-dhcp".networkConfig.MulticastDNS = lib.mkDefault "yes";
systemd.network.networks."99-wireless-client-dhcp".networkConfig.MulticastDNS = lib.mkDefault "yes";
networking.firewall.allowedUDPPorts = [ 5353 ]; # Multicast DNS
# Use networkd instead of the pile of shell scripts
networking.useNetworkd = lib.mkDefault true;