From 023508df4804dbd9f39cb197525f166bc259f995 Mon Sep 17 00:00:00 2001 From: Hugo Buddelmeijer Date: Sun, 9 Jan 2022 19:15:44 +0000 Subject: [PATCH] README.org: Explain how reconfigure the first time while using substitutes. * README.org (** Substitutes for nonguix): Explain how to authorize and reconfigure when starting to use substitutes.nonguix.org. Signed-off-by: Jonathan Brielmaier --- README.org | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.org b/README.org index 77cef95..dc13104 100644 --- a/README.org +++ b/README.org @@ -221,6 +221,17 @@ Alternatively, you can replace ~(local-file "./signing-key.pub")~ by: "") #+END_SRC +Guix System will only use the substitution server after it has been +reconfigured. The substitution server will therefore by default not +be used the first time you run ~guix system reconfigure~ after adding +the substitution server. It is therefore recommended to explicitly +specify the use of the substitution server the first time +you reconfigure your system: +#+BEGIN_SRC sh +sudo guix archive --authorize < signing-key.pub +sudo guix system reconfigure /etc/config.scm --substitute-urls='https://ci.guix.gnu.org https://bordeaux.guix.gnu.org https://substitutes.nonguix.org' +#+END_SRC + Check out the [[https://guix.gnu.org/manual/en/html_node/Substitutes.html][chapter on substitutes]] in the Guix manual for more details.