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,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)))))))))))
|
||||
|
Loading…
Reference in New Issue
Block a user