summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--desktop.scm13
-rw-r--r--non-guix-signing-key.pub6
2 files changed, 18 insertions, 1 deletions
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#)
+ )
+ )