guixconfig/sysinst.sh

11 lines
381 B
Bash
Raw Normal View History

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-18 18:31:02 +00:00
GUIX_PROFILE="/root/.config/guix/current"
2023-12-18 00:05:20 +00:00
. "$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"