aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kbg/services/desktop.scm15
-rw-r--r--keys/guix/substitutes.guix.psychonotebook.org.pub6
-rw-r--r--keys/guix/substitutes.nonguix.org.pub6
3 files changed, 27 insertions, 0 deletions
diff --git a/kbg/services/desktop.scm b/kbg/services/desktop.scm
index 39451de6..fb82d5f4 100644
--- a/kbg/services/desktop.scm
+++ b/kbg/services/desktop.scm
@@ -1,4 +1,6 @@
(define-module (kbg services desktop)
+ #:use-module (kbg)
+ #:use-module (guix)
#:use-module (gnu services)
#:use-module (gnu services base)
#:use-module (gnu services desktop)
@@ -12,6 +14,19 @@
(define %kbg-desktop-services
(modify-services %desktop-services
+ (guix-service-type config =>
+ (guix-configuration
+ (inherit config)
+ (substitute-urls
+ (append %default-substitute-urls
+ (list "https://substitutes.nonguix.org"
+ "https://substitutes.guix.pyschonotebook.org")))
+ (authorized-keys
+ (append %default-authorized-guix-keys
+ (list (local-file (string-append %dotfiles-root
+ "keys/guix/substitutes.nonguix.org.pub"))
+ (local-file (string-append %dotfiles-root
+ "keys/guix/substitutes.guix.psychonotebook.org.pub")))))))
(network-manager-service-type config =>
(network-manager-configuration
(inherit config)
diff --git a/keys/guix/substitutes.guix.psychonotebook.org.pub b/keys/guix/substitutes.guix.psychonotebook.org.pub
new file mode 100644
index 00000000..7a248adb
--- /dev/null
+++ b/keys/guix/substitutes.guix.psychonotebook.org.pub
@@ -0,0 +1,6 @@
+(public-key
+ (ecc
+ (curve Ed25519)
+ (q #D4E1CAFAB105581122B326E89804E3546EF905C0D9B39F161BBD8ABB4B11D14A#)
+ )
+ )
diff --git a/keys/guix/substitutes.nonguix.org.pub b/keys/guix/substitutes.nonguix.org.pub
new file mode 100644
index 00000000..32ddac61
--- /dev/null
+++ b/keys/guix/substitutes.nonguix.org.pub
@@ -0,0 +1,6 @@
+(public-key
+ (ecc
+ (curve Ed25519)
+ (q #C1FD53E5D4CE971933EC50C9F307AE2171A2D3B52C804642A7A35F84F3A4EA98#)
+ )
+ )