Hello Sébastien, you do it with the first snippet you shared. Hope this helps,
Cheers giacomo Il 10 settembre 2025 16:28:52 CEST, "Sébastien Gendre" <[email protected]> ha scritto: >Hello, > >How do you configure the home service "home-dotfiles-service-type" with >a stow layout ? > >Do you only set the "layout" field to "'stow" and the "directories" field to >the root of your dot files directory ? > >Or do you also need to add each sub-dir of your dot files directory into >the "directories" field ? > > > >Example, I have this dot files directory: > >~/dotfiles > bash > .bashrc > .bash_profile > git > .gitconfig > .gitignore > > > >Do I configure my home service like this: > > (home-environment > ;; … > (services > (service home-dotfiles-service-type > (home-dotfiles-configuration > (layout 'stow) > (directories '("~/dotfiles")))))) > > >Or like this: > > (home-environment > ;; … > (services > (service home-dotfiles-service-type > (home-dotfiles-configuration > (layout 'stow) > (directories '("~/dotfiles/bash" "~/dotfiles/git")))))) > > >Best regards > >------- >Gendre Sébastien
