dotfiles-guix/scripts/build-installer

5 lines
198 B
Bash
Executable file

#!/bin/sh
repo="$HOME/.config/guix"
date="$(date -Iseconds)"
image=$(guix-retry guix system -L "$repo/modules" image -t iso9660 "$repo/systems/installer.scm")
cp $image "./guix-installer-$date.iso"