finally fix and document file-fetch
This commit is contained in:
parent
821d7027b0
commit
8b3bad38af
@ -25,7 +25,10 @@
|
||||
(define (file-fetch url hash)
|
||||
(with-store store
|
||||
(run-with-store store
|
||||
(url-fetch url 'sha256 (base64-decode hash)))))
|
||||
(url-fetch url 'sha256
|
||||
; hash
|
||||
(base64-decode hash)
|
||||
))))
|
||||
|
||||
(home-environment
|
||||
;; Below is the list of packages that will show up in your
|
||||
@ -45,7 +48,8 @@
|
||||
`(
|
||||
(".face" ,(file-fetch
|
||||
"https://marq42.xyz/mir-avatar-picrew-3.png"
|
||||
"cf5ck8db4d5n24drdnv77wx1liiqi6an"
|
||||
;; get below with `guix download URL --format=base64` - this took ages to work out
|
||||
"Psx4J7+7mMKqpsT/rl/Iv/XQnZlTJ1WSMpswuNDjv38="
|
||||
))))
|
||||
(service home-dconf-load-service-type
|
||||
#~`((org/gnome/shell
|
||||
|
Loading…
Reference in New Issue
Block a user