doc: show how to fix perms when migrating devices
This commit is contained in:
@@ -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!
|
||||
|
Reference in New Issue
Block a user