I am trying to build a bash script that automatically downloads the latest stable nixos iso.
I am trying to build a qubesOS builder for NixOS (see https://www.qubes-os.org/doc/building-non-fedora-template/)
I am working on the 00_prepare.sh script.
I am hoping I can do something like:
BOOTSTRAP_TARBALL=$(wget -qO- "$ARCHLINUX_SRC_PREFIX"/iso/latest/sha1sums.txt | grep -o "archlinux-bootstrap-[0-9.]*-x86_64.tar.gz")
Except obviously it would be a iso format. If it could be a tarball that would be great too.
Thanks in advance!