guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: hydra: bordeaux: Add a how to code snippet.


From: Christopher Baines
Subject: branch master updated: hydra: bordeaux: Add a how to code snippet.
Date: Tue, 08 Jun 2021 11:05:41 -0400

This is an automated email from the git hooks/post-receive script.

cbaines pushed a commit to branch master
in repository maintenance.

The following commit(s) were added to refs/heads/master by this push:
     new 504259d  hydra: bordeaux: Add a how to code snippet.
504259d is described below

commit 504259d59bea75fa52322c5b0e514b1e3ef9d21d
Author: Joshua Branson <jbranso@dismail.de>
AuthorDate: Tue Jun 8 04:10:02 2021 -0400

    hydra: bordeaux: Add a how to code snippet.
    
    * hydra/nginx/html/bordeaux/index.html: (Using these substitutes):
    Fixed a typo, and added a how to code snippet for users of guix system.
    
    Signed-off-by: Christopher Baines <mail@cbaines.net>
---
 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..f6c904b 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>
+
+    <h3>On a Guix System</h3>
+    <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>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]