mirror of
				https://codeberg.org/hako/Rosenthal.git
				synced 2025-11-04 11:44:48 +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
 | 
			
		||||
      (inherit os)
 | 
			
		||||
      (services
 | 
			
		||||
       (modify-services (operating-system-user-services os)
 | 
			
		||||
         (guix-service-type
 | 
			
		||||
          config => (guix-configuration
 | 
			
		||||
                     (inherit config)
 | 
			
		||||
                     (channels
 | 
			
		||||
                      (let ((configured-channels
 | 
			
		||||
                             (guix-configuration-channels config)))
 | 
			
		||||
                        (if channel?
 | 
			
		||||
                            (cons %rosenthal-channel
 | 
			
		||||
                                  (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")
 | 
			
		||||
                               '())))))))))))
 | 
			
		||||
       (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
 | 
			
		||||
                             (inherit config)
 | 
			
		||||
                             (channels
 | 
			
		||||
                              (let ((configured-channels
 | 
			
		||||
                                     (guix-configuration-channels config)))
 | 
			
		||||
                                (if channel?
 | 
			
		||||
                                    (cons %rosenthal-channel
 | 
			
		||||
                                          (or configured-channels
 | 
			
		||||
                                              %default-channels))
 | 
			
		||||
                                    configured-channels)))
 | 
			
		||||
                             (guix
 | 
			
		||||
                              (if guix-source?
 | 
			
		||||
                                  (guix-for-channels channels)
 | 
			
		||||
                                  (guix-configuration-guix config)))))))))))
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user