updated deploy script

This commit is contained in:
Ryan 2023-09-14 14:28:21 -04:00
parent 33a7e1524d
commit 24aab6a9ee
Signed by: ryan77627
GPG key ID: 81B0E222A3E2308E

View file

@ -58,8 +58,13 @@ copy_and_prepare() {
echo "Mounting /gnu/store to destination disk..."
herd start cow-store /mnt
# Install the non-guix signing keys
echo "Installing non-guix signing keys for substitutes..."
curl -o sign-key.pub https://substitutes.nonguix.org/signing-key.pub
guix archive --authorize < sign-key.pub
echo "Beginning install!"
guix time-machine -C ./channels.scm -- system -L ./modules --substitute-urls='https://bordeaux.guix.gnu.org https://ci.guix.gnu.org https://substitutes.nonguix.org' init $install_hostname.scm /mnt
guix time-machine -C ./channels.scm -- system -L ./modules --substitute-urls='https://substitutes.nonguix.org https://bordeaux.guix.gnu.org https://ci.guix.gnu.org' init $install_hostname.scm /mnt
}