From a7adbd5063fe7ab428d8174cb9b31bec2c6133d6 Mon Sep 17 00:00:00 2001 From: yokai Date: Tue, 4 Aug 2026 17:05:42 -0500 Subject: common: parameterize LAN discovery interface Let the shared LAN discovery module use each host's Wi-Fi interface instead of assuming kusanagi's wlp8s0 everywhere. Set kusanagi to wlp8s0 and enzo to wlp1s0. Reuse the same setting for kusanagi's Ollama LAN firewall rule so the service opening stays tied to the declared LAN interface. Assisted-by: OpenAI:gpt-5 --- machines/enzo/default.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'machines/enzo') diff --git a/machines/enzo/default.nix b/machines/enzo/default.nix index 3246ca3..c243a80 100644 --- a/machines/enzo/default.nix +++ b/machines/enzo/default.nix @@ -16,6 +16,7 @@ ]; networking.hostName = "enzo"; + lanDiscovery.interface = "wlp1s0"; # Set this to the NixOS release the laptop is first installed from, then # leave it. (See the comment in machines/kusanagi/default.nix.) -- cgit v1.3