home-environments: radio: Add ~/.config/guix/home.scm as a special file that symlinks to (home-environments radio) module location

main
Luis Guilherme Coelho 2024-11-11 12:12:49 -03:00
parent 20ac5678da
commit b4e89e28da
No known key found for this signature in database
GPG Key ID: 1F2E76ACE3F531C8
1 changed files with 7 additions and 1 deletions

View File

@ -42,7 +42,11 @@
#|S|# #:use-module (radix home services shells)
#|X|# #:use-module (radix home services xdg)
#:export (radio))
#:export (radio radio.scm))
(define radio.scm
(search-path %load-path
(module-filename (current-module))))
(define radio
(home-environment
@ -123,6 +127,8 @@
"image/webp"))
('sioyek.desktop
`("application/pdf"))))))
(service home-special-files-service-type
`((".config/guix/home.scm" ,radio.scm)))
#|Dotfiles service|#
(service home-dotfiles-service-type