# shell.nix (in your ea project root) { pkgs ? import {} }: pkgs.mkShell { buildInputs = with pkgs; [ ollama python311 python311Packages.uv git-lfs git gcc portaudio pkg-config # for any C builds ]; shellHook = '' echo "EA dev shell loaded — Ollama ready!" # Auto-start Ollama server in background if not running if ! pgrep ollama >/dev/null 2>&1; then echo "Starting Ollama server..." ollama serve & sleep 3 # give it a sec to boot fi ollama --version # test it ''; }