Unofficial Nix package for LM Studio - discover, download, and run local LLMs.
{
inputs.lmstudio.url = "github:tomsch/lmstudio-nix";
outputs = { self, nixpkgs, lmstudio, ... }: {
# NixOS
nixosConfigurations.myhost = nixpkgs.lib.nixosSystem {
modules = [{
nixpkgs.config.allowUnfree = true;
environment.systemPackages = [
lmstudio.packages.x86_64-linux.default
];
}];
};
};
}nix run github:tomsch/lmstudio-nix --impurenix profile install github:tomsch/lmstudio-nix --impure- Run LLMs locally - complete privacy, no data leaves your machine
- Download models from Hugging Face with one click
- GPU acceleration with NVIDIA CUDA and AMD ROCm support
- OpenAI-compatible API server for local development
- Chat interface with customizable system prompts
- Supports Llama, Mistral, Phi, Gemma, DeepSeek, and more
- x86_64 Linux
- Recommended: NVIDIA or AMD GPU with 8GB+ VRAM
- Minimum 16GB RAM
- AVX2 compatible processor
Maintainers can update to the latest version:
./update.shThe Nix packaging is MIT. LM Studio itself is proprietary software.