Signing store paths: Difference between revisions
Add usage example |
m More examples |
||
| Line 45: | Line 45: | ||
== Usage == | == Usage == | ||
Now you can copy store paths without signatures from the NixOS binary cache to a remote!<syntaxhighlight lang="shell-session"> | Now you can copy store paths without signatures from the NixOS binary cache to a remote! You can continue by setting up [[Distributed build|remote builders]] or a [[Binary Cache|binary cache]], or simply using <code>nix copy</code>. | ||
=== <code>nix copy</code> example === | |||
<syntaxhighlight lang="shell-session"> | |||
$ # Note that we're not a trusted user as that could allow copying without valid signatures | $ # Note that we're not a trusted user as that could allow copying without valid signatures | ||
$ nix store --store ssh-ng://anothermachine.local info | $ nix store --store ssh-ng://anothermachine.local info | ||