From fc497d2362694e5c190de7580e6d6cdf9d254f42 Mon Sep 17 00:00:00 2001 From: Ekaitz Zarraga Date: Tue, 15 Nov 2022 21:51:35 +0100 Subject: Add nonguix substitutes --- desktop.scm | 13 ++++++++++++- non-guix-signing-key.pub | 6 ++++++ 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 non-guix-signing-key.pub diff --git a/desktop.scm b/desktop.scm index 0cbe6f3..48e8920 100644 --- a/desktop.scm +++ b/desktop.scm @@ -126,4 +126,15 @@ (remove (lambda (x) (eqv? (service-type-name (service-kind x)) 'modem-manager)) - %desktop-services)))) + + ; Configure nonguix substitutes + (modify-services %desktop-services + (guix-service-type config => + (guix-configuration + (inherit config) + (substitute-urls + (append (list "https://substitutes.nonguix.org") + %default-substitute-urls)) + (authorized-keys + (append (list (local-file "./non-guix-signing-key.pub")) + %default-authorized-guix-keys))))))))) diff --git a/non-guix-signing-key.pub b/non-guix-signing-key.pub new file mode 100644 index 0000000..56ee811 --- /dev/null +++ b/non-guix-signing-key.pub @@ -0,0 +1,6 @@ +(public-key + (ecc + (curve Ed25519) + (q #C1FD53E5D4CE971933EC50C9F307AE2171A2D3B52C804642A7A35F84F3A4EA98#) + ) + ) -- cgit v1.2.3