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

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

> Hacker News story 49146267 · language: en · submitted 2026-08-02
> Web version: https://zeli.app/story/49146267
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 126 · by [graham33](<https://news.ycombinator.com/user?id=graham33>) · 💬 40
[original](<https://github.com/graham33/nixos-dgx-spark>) · [HN discussion](<https://news.ycombinator.com/item?id=49146267>)

## Summary

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.

## Key quote

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

## HN discussion (40 comments)

### [hamandcheese](<https://news.ycombinator.com/item?id=49147415>)

> 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.

### [redrove](<https://news.ycombinator.com/item?id=49146758>)

> 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!

### [mkagenius](<https://news.ycombinator.com/item?id=49148086>)

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

### [nixie-tubes](<https://news.ycombinator.com/item?id=49146391>)

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

### [ronef](<https://news.ycombinator.com/item?id=49147293>)

> 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...

---

## Cite

- Page: https://zeli.app/story/49146267
- Date: 2026-08-02
- Source: github.com (https://github.com/graham33/nixos-dgx-spark)
- Hacker News: https://news.ycombinator.com/item?id=49146267

## Other languages

- zh: https://zeli.app/zh/story/49146267 · markdown: https://zeli.app/zh/story/49146267.md
- ja: https://zeli.app/ja/story/49146267 · markdown: https://zeli.app/ja/story/49146267.md
- ko: https://zeli.app/ko/story/49146267 · markdown: https://zeli.app/ko/story/49146267.md
- de: https://zeli.app/de/story/49146267 · markdown: https://zeli.app/de/story/49146267.md
- es: https://zeli.app/es/story/49146267 · markdown: https://zeli.app/es/story/49146267.md
