guixconfig/sysinst.sh

7 lines
276 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-11 15:56:04 +00:00
herd start cow-store /mnt
2023-12-14 21:49:12 +00:00
guix pull -L.
2023-12-11 15:56:04 +00:00
sed -i 's|/etc/config.scm|/mnt/etc/config.scm|g' ./config.scm
2023-12-14 21:49:12 +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"