From 118d3b4313ead2f2d9b5efa154d4a63a2ecb0688 Mon Sep 17 00:00:00 2001 From: Nexoniarz Date: Mon, 2 Nov 2026 00:28:48 +0100 Subject: [PATCH] Open zvm_node's Ollama port 11434 to the home network (Off Grid AI finds it there) --- modules/remote.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/modules/remote.nix b/modules/remote.nix index a1663e0..4b31b4f 100644 --- a/modules/remote.nix +++ b/modules/remote.nix @@ -1,10 +1,11 @@ { config, lib, pkgs, ... }: -# My machines working together at home: SSH (keys only) and ZeroVRAM's zvm_node (port 8080), -# both reachable from the home network only — not from other networks the laptop joins. +# My machines working together at home: SSH (keys only) and ZeroVRAM's zvm_node (port 8080, +# and 11434 where apps look for Ollama, e.g. Off Grid AI on the phone), reachable from the home +# network only — not from other networks the laptop joins. let homeLan = "192.168.1.0/24"; - homePorts = [ 22 8080 ]; # SSH, zvm_node + homePorts = [ 22 8080 11434 ]; # SSH, zvm_node, zvm_node as an Ollama server rule = op: port: "iptables ${op} nixos-fw -p tcp -s ${homeLan} --dport ${toString port} -j nixos-fw-accept"; in {