diff --git a/home-manager/common/software/cli/nixvim.nix b/home-manager/common/software/cli/nixvim.nix index 2e93c3e2..6eaab7d2 100644 --- a/home-manager/common/software/cli/nixvim.nix +++ b/home-manager/common/software/cli/nixvim.nix @@ -39,6 +39,9 @@ ollama = { enable = true; model = "vanilj/Phi-4"; + url = "http://127.0.0.1:11434"; + action = "display"; + serve.onStart = true; }; lsp-lines.enable = true; crates-nvim.enable = true; diff --git a/nixos/common/services/ollama.nix b/nixos/common/services/ollama.nix index ca73b905..82825a00 100644 --- a/nixos/common/services/ollama.nix +++ b/nixos/common/services/ollama.nix @@ -1,6 +1,7 @@ { pkgs, ... }: { services.ollama = { enable = true; + openFirewall = true; loadModels = [ "vanilj/Phi-4" ];