diff --git a/home/neovim/avante.nix b/home/neovim/avante.nix index 2fd7092..40c9725 100644 --- a/home/neovim/avante.nix +++ b/home/neovim/avante.nix @@ -1,4 +1,3 @@ -{ pkgs, ... }: { # Avante: AI-powered coding assistant (Cursor-like experience in Neovim) programs.nixvim = { @@ -29,7 +28,7 @@ }; ollama = { - endpoint = "http://100.109.179.25:11434"; # tailscale IP, no /v1 suffix + endpoint = "http://10.10.0.2:11434"; model = "qwen2.5:3b"; # swap for "llama3.2:3b" or "deepseek-r1:1.5b" timeout = 60000; # local + small model can be slow on first load disable_tools = true; # these small models aren't reliable at tool calling diff --git a/home/opencode.nix b/home/opencode.nix index d4f3152..898bd96 100644 --- a/home/opencode.nix +++ b/home/opencode.nix @@ -12,7 +12,7 @@ _: { npm = "@ai-sdk/openai-compatible"; name = "Ollama (tailscale)"; options = { - baseURL = "http://100.109.179.25:11434/v1"; + baseURL = "http://10.10.0.2:11434/v1"; }; models = { "llama3.2:3b" = { diff --git a/nixos/roles/matrix/postgres-backup.nix b/nixos/roles/matrix/postgres-backup.nix index fd06baf..96677ad 100644 --- a/nixos/roles/matrix/postgres-backup.nix +++ b/nixos/roles/matrix/postgres-backup.nix @@ -50,7 +50,7 @@ --network host \ postgres:17 \ pg_basebackup \ - --host=100.109.10.91 \ + --host=10.10.0.1 \ --port=5432 \ --username=replicator \ --pgdata=/out/postgresql-replica \ @@ -64,7 +64,7 @@ # primary conninfo cat > "$DATADIR/postgresql.auto.conf" <