zero/operating-systems/buer/install/02-create.sh

11 lines
288 B
Bash
Raw Permalink Normal View History

cd /mnt
mkdir -p boot home root gnu/store gnu/persist var/log var/lib var/guix
for vol in home root boot gnu gnu/store gnu/persist var var/log var/lib var/guix; do
btrfs subvolume create @$vol
mount --bind @$vol $vol
done
cd @gnu/persist
mkdir -p etc/guix etc/ssh etc/wireguard