utils: rosenthal-transformation-guix: Update substitute server.

* modules/rosenthal/utils/transformations.scm (rosenthal-transformation-guix):
Use https://cache-cdn.guix.moe and place it before official substitute servers.
This commit is contained in:
Hilton Chain 2025-09-08 00:39:01 +08:00
parent 1d06558776
commit d4a25e7613
No known key found for this signature in database
GPG Key ID: ACC66D09CA528292

View File

@ -37,6 +37,13 @@
(operating-system
(inherit os)
(services
(cons* (simple-service 'guix-moe guix-service-type
(guix-extension
(authorized-keys
(list %rosenthal-signing-key))
(substitute-urls
'("https://cache-cdn.guix.moe"))))
(modify-services (operating-system-user-services os)
(guix-service-type
config => (guix-configuration
@ -46,18 +53,10 @@
(guix-configuration-channels config)))
(if channel?
(cons %rosenthal-channel
(or configured-channels %default-channels))
(or configured-channels
%default-channels))
configured-channels)))
(guix
(if guix-source?
(guix-for-channels channels)
(guix-configuration-guix config)))
(authorized-keys
(cons %rosenthal-signing-key
(guix-configuration-authorized-keys config)))
(substitute-urls
(delete-duplicates
`(,@(guix-configuration-substitute-urls config)
,@(if substitutes?
'("https://ci.boiledscript.com")
'())))))))))))
(guix-configuration-guix config)))))))))))