From 8c3fb4ef2b26ba6d6db4c7a4ec2c38dc984d1ad8 Mon Sep 17 00:00:00 2001 From: Luis Guilherme Coelho Date: Mon, 11 Nov 2024 12:12:49 -0300 Subject: [PATCH] home-environments: radio: Add ~/.config/guix/home.scm as a special file that symlinks to (home-environments radio) module location --- home-environments/radio.scm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/home-environments/radio.scm b/home-environments/radio.scm index dfe51a6..ab2ffa2 100644 --- a/home-environments/radio.scm +++ b/home-environments/radio.scm @@ -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