Loading
nixos/avahi-daemon: let nssmdns{4,6} options affect also non-minimal mdns source
This is a followup to commit bba808db ("nixos/avahi-daemon: resolve mdns only over enabled protocols, disable ipv6 by default", 2023-10-01, PR #258424). mdns occurs twice in /etc/nsswitch.conf but that commit changed only the first one (mdns_minimal, before resolve). This commits ensures that both occurrences are set consistently. This is not only consistent with upstream example[1] but it also fixes #118628 -- a longstanding issue with CUPS and printer detection. [1] https://github.com/avahi/nss-mdns#activation