Compare commits

..

2 Commits

Author SHA1 Message Date
8033287960 add face icon 2024-04-26 12:05:29 -08:00
3bdccc93b0 desktop background 2024-04-26 11:36:14 -08:00

View File

@ -10,11 +10,20 @@
(gnu packages vim)
(gnu services)
(guix gexp)
(guix store)
(guix download)
(guix base64)
(gnu home services)
(gnu home services shells)
(atlas home services dconf)
)
;; taken from https://git.sr.ht/~michal_atlas/dotfiles/tree/16ccb8dd549494fd4165f706c899b591903d1a6d/item/home.scm
(define (file-fetch url hash)
(with-store store
(run-with-store store
(url-fetch url 'sha256 (base64-decode hash)))))
(home-environment
;; Below is the list of packages that will show up in your
;; Home profile, under ~/.guix-home/profile.
@ -26,6 +35,13 @@
;; services, run 'guix home search KEYWORD' in a terminal.
(services
(list
(simple-service 'face-image
home-files-service-type
`(
(".face" ,(file-fetch
"https://marq42.xyz/mir-avatar-picrew.png"
"yc8TjdLXswliHmzUxYQ3MYB+UXHuVmp8+0bECEspLrU="
))))
(service home-dconf-load-service-type
#~`((org/gnome/shell
(disable-user-extensions #f))
@ -44,6 +60,12 @@
(current-tab "resources"))
(org/gnome/desktop/interface
(show-battery-percentage #t))
(org/gnome/desktop/background
(picture-uri-dark
#$(file-fetch "https://www.teahub.io/photos/full/154-1542362_mac-os-mojave-screenshot.jpg"
;; got by running `guix hash 154-1542362_mac-os-mojave-screenshot.jpg --hash=sha256 --format=base64`
"avrKrso2RJBM0X9BD8likF/7wV0SWMNgoLqtqAixLG8="
)))
(org/gnome/desktop/peripherals/touchpad
(tap-to-click #t))))
(service home-bash-service-type