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) #|S|# #:use-module (radix home services shells)
#|X|# #:use-module (radix home services xdg) #|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 (define radio
(home-environment (home-environment
@ -123,6 +127,8 @@
"image/webp")) "image/webp"))
('sioyek.desktop ('sioyek.desktop
`("application/pdf")))))) `("application/pdf"))))))
(service home-special-files-service-type
`((".config/guix/home.scm" ,radio.scm)))
#|Dotfiles service|# #|Dotfiles service|#
(service home-dotfiles-service-type (service home-dotfiles-service-type