mirror of
https://codeberg.org/hako/Rosenthal.git
synced 2025-09-18 12:44:37 +00:00
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:
parent
1d06558776
commit
d4a25e7613
@ -37,27 +37,26 @@
|
|||||||
(operating-system
|
(operating-system
|
||||||
(inherit os)
|
(inherit os)
|
||||||
(services
|
(services
|
||||||
(modify-services (operating-system-user-services os)
|
(cons* (simple-service 'guix-moe guix-service-type
|
||||||
(guix-service-type
|
(guix-extension
|
||||||
config => (guix-configuration
|
(authorized-keys
|
||||||
(inherit config)
|
(list %rosenthal-signing-key))
|
||||||
(channels
|
(substitute-urls
|
||||||
(let ((configured-channels
|
'("https://cache-cdn.guix.moe"))))
|
||||||
(guix-configuration-channels config)))
|
|
||||||
(if channel?
|
(modify-services (operating-system-user-services os)
|
||||||
(cons %rosenthal-channel
|
(guix-service-type
|
||||||
(or configured-channels %default-channels))
|
config => (guix-configuration
|
||||||
configured-channels)))
|
(inherit config)
|
||||||
(guix
|
(channels
|
||||||
(if guix-source?
|
(let ((configured-channels
|
||||||
(guix-for-channels channels)
|
(guix-configuration-channels config)))
|
||||||
(guix-configuration-guix config)))
|
(if channel?
|
||||||
(authorized-keys
|
(cons %rosenthal-channel
|
||||||
(cons %rosenthal-signing-key
|
(or configured-channels
|
||||||
(guix-configuration-authorized-keys config)))
|
%default-channels))
|
||||||
(substitute-urls
|
configured-channels)))
|
||||||
(delete-duplicates
|
(guix
|
||||||
`(,@(guix-configuration-substitute-urls config)
|
(if guix-source?
|
||||||
,@(if substitutes?
|
(guix-for-channels channels)
|
||||||
'("https://ci.boiledscript.com")
|
(guix-configuration-guix config)))))))))))
|
||||||
'())))))))))))
|
|
||||||
|
Loading…
Reference in New Issue
Block a user