mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 15:11:35 +00:00
Merge pull request #56004 from eskimor/add-nix-serve-help
nixos-nix-serve: Add some hint on howto get valid signing keys.
This commit is contained in:
commit
183919a0c0
|
@ -31,6 +31,15 @@ in
|
||||||
default = null;
|
default = null;
|
||||||
description = ''
|
description = ''
|
||||||
The path to the file used for signing derivation data.
|
The path to the file used for signing derivation data.
|
||||||
|
Generate with:
|
||||||
|
|
||||||
|
```
|
||||||
|
nix-store --generate-binary-cache-key key-name secret-key-file public-key-file
|
||||||
|
```
|
||||||
|
|
||||||
|
Make sure user `nix-serve` has read access to the private key file.
|
||||||
|
|
||||||
|
For more details see <citerefentry><refentrytitle>nix-store</refentrytitle><manvolnum>1</manvolnum></citerefentry>.
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue