HeadlinesBriefing favicon HeadlinesBriefing.com

Set Up NixOS on DGX Spark – Quick Guide

Hacker News •
×

The NixOS repository *graham33/nixos-dgx-spark* lets you run Nix on NVIDIA’s DGX Spark or install NixOS on the machine for full control. It also works on the Asus Ascent GX10, and includes USB images and a DGX‑Spark module.

Installation starts with the official Nix installer:

```

sh <(curl -L https://nixos.org/nix/install) --daemon

```

or the Determinate installer. Enable flakes via `/etc/nix/nix.conf`: `experimental-features = nix-command flakes`. Add the Cachix cache and, on non‑Nix OS, use `nixglhost` in devshells to locate GPU drivers.

For a full OS install, build a USB boot image: `nix build .#usb-image` and flash with `dd`. Two GRUB options appear: NixOS (default, NVIDIA kernel) and NixOS 6.17 (standard kernel). Disable Secure Boot, boot from USB, and follow the NixOS manual.

The DGX Spark module enables hardware support, selects the NVIDIA kernel, and activates the dashboard at `http://localhost:11000`. It auto‑generates lightweight kernel configs and ships a ready‑made NixOS template for quick deployment.