2023-12-11 15:56:04 +00:00
|
|
|
#!/bin/sh
|
2023-12-14 21:49:12 +00:00
|
|
|
set euxo -pipefail
|
2023-12-17 00:43:45 +00:00
|
|
|
mount /dev/disk/by-label/guix /mnt
|
2023-12-17 14:43:53 +00:00
|
|
|
mkdir -p /mnt/boot/efi
|
2023-12-17 00:43:45 +00:00
|
|
|
mount /dev/disk/by-label/EFI /mnt/boot/efi
|
2023-12-11 15:56:04 +00:00
|
|
|
herd start cow-store /mnt
|
2023-12-17 00:43:45 +00:00
|
|
|
guix pull -C./channels.scm
|
2023-12-18 00:05:20 +00:00
|
|
|
$GUIX_PROFILE="/root/.config/guix/current"
|
|
|
|
. "$GUIX_PROFILE/etc/profile"
|
2023-12-17 14:43:53 +00:00
|
|
|
hash guix
|
2023-12-17 16:55:21 +00:00
|
|
|
guix system -L. init config.scm /mnt --substitute-urls="https://ci.guix.gnu.org https://bordeaux.guix.gnu.org https://substitutes.nonguix.org"
|