diff options
| author | Henry J. Webster <hwebs@hwebs.info> | 2026-08-04 16:38:36 -0500 |
|---|---|---|
| committer | yokai <accounts.8ef6c@simplelogin.com> | 2026-08-04 16:49:01 -0500 |
| commit | b9fd1ff561be58fa9d0fa03180a1a239e47550b5 (patch) | |
| tree | c13e38e7393b4ade3eae699a77720ad0044ab256 /machines/enzo | |
| parent | c91e78758a36badda84226f6670d43075614055e (diff) | |
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)
Diffstat (limited to 'machines/enzo')
| -rw-r--r-- | machines/enzo/default.nix | 8 |
1 files changed, 8 insertions, 0 deletions
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 |
