From 74e392022555df0a28809c5a16b190c490406512 Mon Sep 17 00:00:00 2001 From: Luca Matei Pintilie Date: Sat, 5 Oct 2024 20:24:04 +0200 Subject: fixup! fixup! fixup! fixup! fixup! WIP add guix config --- home-configuration.scm | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'home-configuration.scm') 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")))))) -- cgit v1.2.3