move substituter signature-checking conditions to configuration file documentation

This commit is contained in:
Adam Joseph 2022-09-01 17:51:56 -07:00
parent f6c750e8b2
commit 59dc8346ca
2 changed files with 10 additions and 7 deletions

View file

@ -75,13 +75,8 @@
- [substituter]{#gloss-substituter}\
A *substituter* is an additional store from which Nix will
copy store objects it doesn't have. Nix will copy a store
path from a remote store only if one of the following is true:
- the store object is signed by one of the `trusted-public-keys`
- the substituter is in the `trusted-substituters` list
- the `no-require-sigs` option has been set to disable signature checking
- the store object is [output-addressed](#gloss-output-addressed-store-object)
copy store objects it doesn't have. For details, see the
[`substituters` option](command-ref/conf-file.html#conf-substituters).
- [purity]{#gloss-purity}\
The assumption that equal Nix derivations when run always produce

View file

@ -613,6 +613,14 @@ public:
are tried based on their Priority value, which each substituter can set
independently. Lower value means higher priority.
The default is `https://cache.nixos.org`, with a Priority of 40.
Nix will copy a store path from a remote store only if one
of the following is true:
- the store object is signed by one of the `trusted-public-keys`
- the substituter is in the `trusted-substituters` list
- the `no-require-sigs` option has been set to disable signature checking
- the store object is [output-addressed](#gloss-output-addressed-store-object)
)",
{"binary-caches"}};