mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 22:16:16 +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
|
Note the `file://` - without this, the destination is a chroot
|
||||||
store, not a binary cache.
|
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
|
* Copy the entire current NixOS system closure to another machine via
|
||||||
SSH:
|
SSH:
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue