mb/google/brya/var/uldrenite: Generate RAM ID and SPD file
[coreboot2.git] / util / liveiso / nixos / build.sh
blob40e39b59db63964b8ebe2e940a73eff66cbd15a6
1 #!/usr/bin/env sh
3 config=$1
5 if [ -z "$config" ] || [ ! -f "$config" ]; then
6 echo "Usage: $0 <config.nix>"
7 echo "No config given. Exiting."
8 exit 1
9 fi
11 nix-build '<nixpkgs/nixos>' \
12 -A config.system.build.isoImage \
13 -I nixos-config=$config \
14 -I nixpkgs=https://github.com/NixOS/nixpkgs/archive/refs/heads/nixos-24.05.tar.gz