diff options
author | Ekaitz Zarraga <ekaitz@elenq.tech> | 2022-11-15 21:51:35 +0100 |
---|---|---|
committer | Ekaitz Zarraga <ekaitz@elenq.tech> | 2023-01-20 19:20:26 +0100 |
commit | fc497d2362694e5c190de7580e6d6cdf9d254f42 (patch) | |
tree | 9f7a6b20c7f35e0e07b03f342c918f718b18ff19 | |
parent | fbdb57e5b8ca2007050bd2882bbe9ec43009d1e7 (diff) |
Add nonguix substitutes
-rw-r--r-- | desktop.scm | 13 | ||||
-rw-r--r-- | non-guix-signing-key.pub | 6 |
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#) + ) + ) |