Show HN: NixOS-DGX-Spark – Nix and NixOS on the DGX Spark
Posted by graham33 20 hours ago
Try DGX Spark playbooks using Nix on DGX OS, or install NixOS on your DGX Spark for the full Nix experience. The repository provides USB images and a NixOS module with settings for DGX Spark systems.
This works on the NVIDIA DGX Spark itself and also on the Asus Ascent GX10.
See my 5 minute lightning talk from Planet Nix for an intro: https://youtu.be/AvK_gi_snJE?si=MPKv3iiuS9B5elIE
Comments
Comment by hamandcheese 17 hours ago
If you've ever been put off by the difficulty of the language, it's worth checking it out again with AI assistance.
Comment by HellsMaddy 16 hours ago
I'll admit, even with LLMs to help, the Nix language and NixOS did have a rather steep learning curve, because it's quite different from anything I'd experienced before. But after getting the hang of it, I can't imagine going back to a "normal" OS and I'm very happy I put in the time to get over the initial friction.
Comment by lobofta 5 hours ago
9 out 10 times it gets it right on the first shot and my OS is at that point slightly better for the rest of eternity (unless I stop running NixOs, which I don't see happening any time soon). About 2 years of these incremental changes, and some investments on my own part about what tools I really like, has made my OS an absolute joy and breeze to work with.
Nothing compares. It's like having a version of Omarchy, not build by some other dude to fit their world view, but for yourself that co-evolves with your own preferences and tools.
Comment by dhon_ 14 hours ago
I have a repo for kiosk appliances that can build an SD card image for a specific device in a fleet (so no on device configuration is required) but it can also push out updates or changes at runtime. NixOS isn't perfect for embedded devices yet but works well for cases like this in my experience.
Comment by bergkvist 12 hours ago
Comment by graham33 7 hours ago
Comment by miki123211 14 hours ago
I never saw much point in Nix, but if you put it like that... now I want to try.
Comment by rgoulter 11 hours ago
This isn't traditionally 'practical'. It's quicker to just install the package, compared to writing a declaration that says to make the package available. (And for ops, Docker images won out in terms of practicality).
Nix also quite a steep learning curve.. I expect a beginner just wants to learn how to write a package in Nix, and not learn about 'derivations', 'instantiation', etc.
Interesting to see LLM coding agents adjust that trade-off: significantly reducing the cost to "write something in Nix", so the benefits become much cheaper.
Comment by jbstack 3 hours ago
Luckily LLMs can help with this too. I asked ChatGPT to generate a course with just enough content to help an ordinary NixOS user configure their system, work with Nix code and flakes, and create/modify simple packages (which is rarely needed anyway). Just a few hours of that gave me a much stronger understanding than all the documentation / tutorials I had read before.
Comment by aomix 16 hours ago
Comment by sohrob 14 hours ago
Comment by mbo 15 hours ago
Comment by Loeffelmann 17 hours ago
Comment by sunaookami 14 hours ago
Comment by arikrahman 11 hours ago
Comment by graham33 17 hours ago
Comment by colordrops 17 hours ago
Comment by redrove 19 hours ago
Thank you for your work!
Comment by neobrain 3 hours ago
For me the nvidia driver just keeps waking up the system instantly - but my setup is deviating from the upstream flake in a few ways, so I'm just wondering if it's worth setting up the system from scratch if it's working for other people.
Other than that, can fully second that the flake is working great. Only gotcha is that CUDA-enabled packages (including Firefox) require using the flox binary cache unless you want to compile them from source, but then the package versions can lag behind a bit (and debugging nix cache issues is surprisingly difficult).
Comment by pixelesque 18 hours ago
Comment by redrove 18 hours ago
I’ve been running a custom VLLM image with b12x as well as nvfp4_ds_mla.
I would say it’s quite fantastic in day to day, I use it mostly in Hermes and sometimes for coding.
I have qwen 3.6 27b on an rtx 6000 pro as well so I use that as a workhorse in pi with DS as a reviewer/planner.
[0] https://huggingface.co/deepseek-ai/DeepSeek-V4-Flash-0731
Edit: I think you may have misread my post. k3s is NOT kimi k3, and I did mention I was running deepseek.
Comment by pixelesque 17 hours ago
Comment by reinitctxoffset 13 hours ago
I have to do like, low paying web dev to fund it, so I can't promise timelines, but it's coming and it will be free to anyone and fast as fuck.
I estimate about 20 bucks an hour at current spot rates in the hundreds if not thousands of tokens per second.
Comment by reinitctxoffset 9 hours ago
you're asking me how a watch works. let's just try to keep an eye on the time.
federal felony prosecution.
Comment by reinitctxoffset 14 hours ago
i'm not quite ready to OSS the whole thing, it's got a few rough edges, but if anyone wants to alpha test, caveat emptor and it's yours.
Comment by redrove 2 hours ago
Comment by ianlevesque 13 hours ago
Comment by reinitctxoffset 13 hours ago
Comment by reinitctxoffset 13 hours ago
Comment by mkagenius 16 hours ago
Comment by nixie-tubes 19 hours ago
Comment by graham33 19 hours ago
Comment by ronef 18 hours ago
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...
Comment by thenobsta 18 hours ago
Comment by reasonabl_human 10 hours ago
Comment by haunter 18 hours ago
Comment by hamza7159 18 hours ago
Comment by legastenigga 16 hours ago