From b9fd1ff561be58fa9d0fa03180a1a239e47550b5 Mon Sep 17 00:00:00 2001 From: "Henry J. Webster" Date: Tue, 4 Aug 2026 16:38:36 -0500 Subject: enzo: enable mDNS resolution for *.local LAN names Kusanagi already advertises its hostname via Avahi, but enzo had no multicast DNS resolver configured so kusanagi.local never resolved from the laptop. Add avahi with nssmdns4 so the NSS host lookup chain delegates to mDNS before giving up. Assisted-by: pi-coding-agent:gpt-5.2 (cherry picked from commit beb8eedfb712fd31c456096a2426d92cb3a7fcff) --- machines/enzo/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'machines') diff --git a/machines/enzo/default.nix b/machines/enzo/default.nix index 3246ca3..86a05d3 100644 --- a/machines/enzo/default.nix +++ b/machines/enzo/default.nix @@ -58,6 +58,14 @@ "hwebs" ]; + # mDNS client: resolve *.local names on the LAN (kusanagi, NAS, etc.). + # Kusanagi already advertises via Avahi; this side just needs NSS + # resolution so kusanagi.local resolves without an SSH config hostname. + services.avahi = { + enable = true; + nssmdns4 = true; + }; + # Wifi is managed from the CLI (nmcli/nmtui); trim the rest. networking.modemmanager.enable = false; # no cellular modem -- cgit v1.3