From 8b958d6a56c785b9c594e74bdca6fe9a0a420342 Mon Sep 17 00:00:00 2001 From: Julian Mutter Date: Tue, 28 Oct 2025 09:08:01 +0100 Subject: [PATCH] mdns: try fixes for bug with pianonix --- hosts/common/global/default.nix | 4 ++++ hosts/common/optional/avahi.nix | 3 +++ 2 files changed, 7 insertions(+) diff --git a/hosts/common/global/default.nix b/hosts/common/global/default.nix index f168932..b6d6336 100644 --- a/hosts/common/global/default.nix +++ b/hosts/common/global/default.nix @@ -31,6 +31,10 @@ ]; }; services.resolved.enable = true; + # MDNS Taken by avahi + services.resolved.extraConfig = '' + MulticastDNS=false + ''; networking.nameservers = lib.mkDefault [ "1.1.1.1" diff --git a/hosts/common/optional/avahi.nix b/hosts/common/optional/avahi.nix index 7880469..b56a8f9 100644 --- a/hosts/common/optional/avahi.nix +++ b/hosts/common/optional/avahi.nix @@ -3,7 +3,10 @@ services.avahi = { enable = true; nssmdns4 = true; + nssmdns6 = true; publish.enable = true; publish.addresses = true; + ipv4 = true; + ipv6 = true; }; }