Hi Giacomo, Giacomo Leidi skribis: > * gnu/home/services.scm (dotfiles-for-app): New variable; > (home-dotfiles-configuration): new variable; > (home-dotfiles-service-type): new variable. > * doc/guix.texi: Document it. Apologies again for the long delay. The patch looks great to me and I think the functionality is there. I gave it a try for my own config, and that has led me to make the attached changes, which can be summarized as follows: • The dotfile directories are resolved relative the source location where ‘home-dotfiles-configuration’ appears. The advantage is that users do not need to fiddle with (current-source-directory). • As a consequence, all ‘with-directory-excursion’ and ‘canonicalize-path’ calls are gone. (Those should only be used with great care.) • The dotfile directories are traversed only once, using ‘find-files’. • The exclusion regexp is compiled only once (with ‘make-regexp’) and then reused (with ‘regexp-exec’ calls), which is more efficient than repeated ‘string-match’ calls. • Use ‘string-map’ instead of ‘string-replace-substring’ (it’s simpler and more efficient). If that’s fine with you, please feel free to apply these changes. One last thing I should have suggested earlier: how about moving it to (gnu home services dotfiles)? That would keep the scope of (gnu home services) limited to essential services. Please send one last version when you’re ready; I’m eager to use it for my own config actually. :-) Thank you! Ludo’.