guixconfig/sysinst.sh

10 lines
349 B
Bash
Raw Normal View History

2023-12-11 15:56:04 +00:00
#!/bin/sh
herd start cow-store /mnt
2023-12-12 08:33:21 +00:00
mkdir -p /mnt/etc/guix/
cp channels.scm /mnt/etc/guix/
mkdir -p /etc/guix
cp channels.scm /etc/guix
2023-12-11 15:56:04 +00:00
guix pull
sed -i 's|/etc/config.scm|/mnt/etc/config.scm|g' ./config.scm
2023-12-12 08:33:21 +00:00
guix system init ./config.scm /mnt --substitute-urls="https://ci.guix.gnu.org https://bordeaux.guix.gnu.org https://substitutes.nonguix.org"