Menu

1 / 6

GitHub - graham33/nixos-dgx-spark: Use Nix and NixOS on your DGX Spark!

Hacker News·3 months ago
#um255Hf0
#github#cuda#usb#sec#generate
Reading 0:00
15s threshold

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

Using Nix on DGX OS (Ubuntu)

You can use the dev shells and playbooks in this repo on NVIDIA DGX OS (Ubuntu) without installing NixOS.

Setup

Install Nix using the official installer :

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

Alternatively, you can use the Determinate Nix Installer :

curl --proto ' =https ' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install

Enable flakes and nix-command by adding to /etc/nix/nix.conf :

experimental-features = nix-command flakes

Enable the graham33 Cachix cache — see Caching below.

Running on Non-NixOS (e.g.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.