10 lines
381 B
Bash
10 lines
381 B
Bash
#!/bin/sh
|
|
set euxo -pipefail
|
|
mount /dev/disk/by-label/guix /mnt
|
|
mkdir -p /mnt/boot/efi
|
|
mount /dev/disk/by-label/EFI /mnt/boot/efi
|
|
herd start cow-store /mnt
|
|
GUIX_PROFILE="/root/.config/guix/current"
|
|
. "$GUIX_PROFILE/etc/profile"
|
|
hash guix
|
|
guix system -L. init config.scm /mnt --substitute-urls="https://ci.guix.gnu.org https://bordeaux.guix.gnu.org https://substitutes.nonguix.org"
|