unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Joshua Branson via Guix-patches via <guix-patches@gnu.org>
To: 48912@debbugs.gnu.org
Cc: mail@cbaines.net, Joshua Branson <jbranso@dismail.de>
Subject: [bug#48912] [PATCH] hydra: bordeaux: Add a how to code snippet.
Date: Tue,  8 Jun 2021 04:10:02 -0400	[thread overview]
Message-ID: <20210608081002.26581-1-jbranso@dismail.de> (raw)

* hydra/nginx/html/bordeaux/index.html: (Using These substitutes):
Fixed a typo, and added a how to code snippet for users of guix system.
---
 hydra/nginx/html/bordeaux/index.html | 42 +++++++++++++++++++++++++++-
 1 file changed, 41 insertions(+), 1 deletion(-)

diff --git a/hydra/nginx/html/bordeaux/index.html b/hydra/nginx/html/bordeaux/index.html
index a74f2e2..89042af 100644
--- a/hydra/nginx/html/bordeaux/index.html
+++ b/hydra/nginx/html/bordeaux/index.html
@@ -36,7 +36,7 @@
       <b>arm-linux-gnueabihf</b> availability is limited.
     </p>
 
-    <h2>Using these substiutes</h2>
+    <h2>Using these substitutes</h2>
     <p>
       The URL to use to fetch substitutes is <code>https://bordeaux.guix.gnu.org</code>,
       and they're signed with the following key.
@@ -47,5 +47,45 @@
   )
  )</pre>
     </p>
+    <p>
+        Users of Guix System can start using these substitutes with a
+        bit of scheme code that looks like:
+
+        <pre>
+(define %my-desktop-services
+  (modify-services
+      %desktop-services
+    (guix-service-type
+     config =>
+     (guix-configuration
+      (inherit config)
+      (substitute-urls
+       (append (list "https://bordeaux.guix.gnu.org/";)
+               %default-substitute-urls))
+      (authorized-keys
+       (append
+        (list
+         (plain-file
+                     "bordeaux.guix.gnu.org.signing.key"
+                     "
+(public-key
+ (ecc
+  (curve Ed25519)
+  (q #7D602902D3A2DBB83F8A0FB98602A754C5493B0B778C8D1DD4E0F41DE14DE34F#)
+  )
+ )"))
+        %default-authorized-guix-keys)))))))
+
+
+(operating-system
+    ...
+    (services (append (list (service dhcp-client-service-type)
+                            (service openssh-service-type
+                                     (openssh-configuration
+                                      (openssh openssh-sans-x)
+                                      (port-number 2222))))
+                      %my-desktop-services)))
+        </pre>
+    </p>
   </body>
 </html>
-- 
2.31.1





             reply	other threads:[~2021-06-08  8:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-08  8:10 Joshua Branson via Guix-patches via [this message]
2021-06-08 15:14 ` bug#48912: [PATCH] hydra: bordeaux: Add a how to code snippet Christopher Baines

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210608081002.26581-1-jbranso@dismail.de \
    --to=guix-patches@gnu.org \
    --cc=48912@debbugs.gnu.org \
    --cc=jbranso@dismail.de \
    --cc=mail@cbaines.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).