NixOS-DGX-Spark - Nix and NixOS on the DGX Spark

Show HN: NixOS-DGX-Spark – Nix and NixOS on the DGX Spark

NixOS-DGX-Spark - Nix and NixOS on the DGX Spark

NixOS-DGX-Spark brings the power of Nix and NixOS to NVIDIA's DGX Spark, offering a reproducible, declarative environment for AI development. It provides USB boot images, a NixOS module with optimized NVIDIA kernel support, and pre-configured playbooks for popular AI workloads like ComfyUI, vLLM, and PyTorch fine-tuning. Whether you're running Nix on the stock DGX OS or installing full NixOS, this project simplifies setup, leverages binary caches for fast builds, and includes a dashboard for monitoring. Ideal for developers seeking a consistent, hackable AI workstation.

Try DGX Spark playbooks using Nix on DGX OS, or install NixOS on your DGX Spark for the full Nix experience.
  1. hamandcheese

    Slightly off topic, but Claude Code (and likely other models/harnesses) are incredibly effective at Nix. It can trivially self-verify, without side effects, which is a perfect match for an LLM.

    If you've ever been put off by the difficulty of the language, it's worth checking it out again with AI assistance.

  2. redrove

    Been running this on a few Asus GX10 machines with k3s on top, it’s been great. I’m running the new deepseek.

    Thank you for your work!

  3. mkagenius

    There is also a microvm.nix project which helped us support sandboxes with firecracker. So, whole ai workflow pipeline can now be nixos.

  4. nixie-tubes

    This has been amazingly helpful for managing my DGX Spark! Thank you for all your time and effort into this project!

  5. ronef

    Huge plus to anyone interested in the space to check out what Graham built here!

    If anyone is also interested on Nix/CUDA/Capital Markets/Flox, we recently did another case study in the space - https://flox.dev/blog/deploying-hardened-flox-nvidia-cuda-st...

More from this day

2026-08-02