5 if [ -z "$config" ] ||
[ ! -f "$config" ]; then
6 echo "Usage: $0 <config.nix>"
7 echo "No config given. Exiting."
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-23.11.
tar.gz