aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Matei Pintilie <luca@lucamatei.com>2024-10-05 18:24:04 +0000
committerLuca Matei Pintilie <luca@lucamatei.com>2024-10-05 18:24:16 +0000
commit74e392022555df0a28809c5a16b190c490406512 (patch)
treee33d03e95aec86d5dccb9f05d74bcb6304ae52cb
parentd0b6fcd6dc078710482ba1eb591292b31d94dd41 (diff)
downloaddotfiles-74e392022555df0a28809c5a16b190c490406512.tar
dotfiles-74e392022555df0a28809c5a16b190c490406512.tar.gz
dotfiles-74e392022555df0a28809c5a16b190c490406512.tar.bz2
dotfiles-74e392022555df0a28809c5a16b190c490406512.tar.lz
dotfiles-74e392022555df0a28809c5a16b190c490406512.tar.xz
dotfiles-74e392022555df0a28809c5a16b190c490406512.tar.zst
dotfiles-74e392022555df0a28809c5a16b190c490406512.zip
fixup! fixup! fixup! fixup! fixup! WIP add guix config
-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"))))))