mirror of https://codeberg.org/anemofilia/zero
11 lines
288 B
Bash
11 lines
288 B
Bash
|
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
|