guixconfig/sysinst.sh

8 lines
211 B
Bash
Raw Normal View History

2023-12-11 15:56:04 +00:00
#!/bin/sh
herd start cow-store /mnt
mkdir -p ~/.config/guix
cp channels.scm ~/.config/guix/channels.scm
guix pull
sed -i 's|/etc/config.scm|/mnt/etc/config.scm|g' ./config.scm
guix system init ./config.scm /mnt