mirror of
https://github.com/NixOS/nix
synced 2025-07-06 21:41:48 +02:00
nix-copy: document --all --from local binary cache example
This commit is contained in:
parent
25bf671015
commit
db36c9ca90
1 changed files with 6 additions and 0 deletions
|
@ -11,6 +11,12 @@ R""(
|
|||
Note the `file://` - without this, the destination is a chroot
|
||||
store, not a binary cache.
|
||||
|
||||
* Copy all store paths from a local binary cache in `/tmp/cache` to the local store:
|
||||
|
||||
```console
|
||||
# nix copy --all --from file:///tmp/cache
|
||||
```
|
||||
|
||||
* Copy the entire current NixOS system closure to another machine via
|
||||
SSH:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue