fix: docs bootsrtap - swap disk by label (easied copy/paste)

This commit is contained in:
David Arnold 2021-08-12 20:48:30 -05:00
parent c30870f266
commit 32bddf6403
No known key found for this signature in database
GPG Key ID: AB15A6AF1101390D

View File

@ -20,7 +20,7 @@ partition to `/mnt/boot`:
```console
$ mount /dev/disk/by-label/nixos /mnt
$ mkdir -p /mnt/boot && mount /dev/disk/by-label/boot /mnt/boot # UEFI only
$ swapon /dev/$your_swap_partition
$ swapon /dev/disk/by-label/swap
# add some extra space to the store, it's running on a tmpfs on your RAM
$ mkdir -p /mnt/tmpstore/{work,store}
$ mount -t overlay overlay -olowerdir=/nix/store,upperdir=/mnt/tmpstore/store,workdir=/mnt/tmpstore/work /nix/store