From de978a493caffdd220f60e7dd536ec00f5353157 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Mon, 30 Dec 2024 15:58:20 +0100 Subject: marvin: enable remote access to ollama (via tailscale) --- user/marvin.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'user/marvin.nix') diff --git a/user/marvin.nix b/user/marvin.nix index 70593507..3b33b5d1 100644 --- a/user/marvin.nix +++ b/user/marvin.nix @@ -36,6 +36,7 @@ KeepAlive = true; WorkingDirectory = "/Users/alan"; EnvironmentVariables = { + OLLAMA_HOST = "[::]:11434"; OLLAMA_KEEP_ALIVE = "-1"; # keep models in memory forever OLLAMA_FLASH_ATTENTION = "1"; # significantly reduce memory usage as the context size grows }; -- cgit 1.4.1