diff options
author | Franz Geffke <franz@pantherx.org> | 2024-01-14 22:12:13 +0000 |
---|---|---|
committer | Franz Geffke <franz@pantherx.org> | 2024-01-14 22:12:13 +0000 |
commit | 8f98f693b15c395001dabfaecf9e66a103af938f (patch) | |
tree | 0d67ce572c4f8c032626e2cbb024977240fc12cb /px/system/os.scm | |
parent | 77fc57c04f75aa185f641a9c3db37491b6485324 (diff) |
added nonguix substitutes
Diffstat (limited to 'px/system/os.scm')
-rw-r--r-- | px/system/os.scm | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/px/system/os.scm b/px/system/os.scm index fec1984..31e5034 100644 --- a/px/system/os.scm +++ b/px/system/os.scm @@ -184,6 +184,9 @@ (define %px-substitute-server-url "https://packages.pantherx.org") +(define %nonguix-substitute-server-url + "https://substitutes.nonguix.org") + (define %px-substitute-server-key (plain-file "packages.pantherx.org.pub" "(public-key @@ -194,6 +197,16 @@ ) ")) +(define %nonguix-substitute-server-key + (plain-file "substitutes.nonguix.org.pub" + "(public-key + (ecc + (curve Ed25519) + (q #C1FD53E5D4CE971933EC50C9F307AE2171A2D3B52C804642A7A35F84F3A4EA98#) + ) + ) +")) + (define (adjust-bootloader-theme config) (let* ((bootloader-config (operating-system-bootloader config)) (bootloader (bootloader-configuration-bootloader bootloader-config))) @@ -256,10 +269,12 @@ return @code{defaule-value} if there is no modification applied." (existing-keys (guix-configuration-authorized-keys guix-config))) (guix-configuration (inherit guix-config) (substitute-urls (append (list - %px-substitute-server-url) + %px-substitute-server-url + %nonguix-substitute-server-url) existing-urls)) (authorized-keys (append (list - %px-substitute-server-key) + %px-substitute-server-key + %nonguix-substitute-server-key) existing-keys))))) (define* (make-os config |