doc: show how to fix perms when migrating devices

This commit is contained in:
2025-04-23 16:12:57 +00:00
parent 92384f4b51
commit 49c1fe2dba

View File

@@ -34,4 +34,11 @@ $ sudo btrfs subvolume create new/persist
$ rsync -arv old/persist/ new/persist/
```
5. insert the disk into the system, and boot!
5. ensure/fix ownership
```
$ chmod -R a+rX new/nix
# or, let the nix daemon do it:
$ nix copy --no-check-sigs --to new $(nix-build -A hosts.moby)
```
```
6. insert the disk into the system, and boot!