aboutsummaryrefslogtreecommitdiff
path: root/home-configuration.scm
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--home-configuration.scm11
1 files changed, 5 insertions, 6 deletions
diff --git a/home-configuration.scm b/home-configuration.scm
index 92f64a4..b5a6c37 100644
--- a/home-configuration.scm
+++ b/home-configuration.scm
@@ -58,11 +58,6 @@
(guix build utils)
(guix channels))
-(define (match-files-in-tree-to-local-file name)
- (list name
- (local-file name
- (string-replace-substring home "." "-"))))
-
(home-environment
;; Below is the list of packages that will show up in your
;; Home profile, under ~/.guix-home/profile.
@@ -162,5 +157,9 @@
"bash_profile")))
(bash-logout (list (local-file ".bash_logout" "bash_logout")))))
(service home-files-service-type
- (map match-files-in-tree-to-local-file
+ (map (lambda (name)
+ (format #t (string-append name "\n"))
+ (list `name
+ (local-file (assume-source-relative-file-name name)
+ (string-replace-substring name "." "-"))))
(find-files "./.config"))))))