Hi Janneke, thank you for the report. I already pointed out this at https://issues.guix.gnu.org/60521 . there was a fix that was removed by a misunderstanding on the requirements of the service since the code contradicts documentation as you pointed out . It should be pretty easy to apply the fix from 60521.

Thank you

Giacomo


Il 31 gennaio 2024 13:17:25 CET, Janneke Nieuwenhuizen <janneke@gnu.org> ha scritto:
Hi,

When I follow the documentation, and have

dotfiles/guix/.config/guix/channels.scm

that shows suing tree -a ./dotfiles

dotfiles
└── guix
└── .config
└── guix
└── channels.scm

similar to the documentaion, and using

(service home-dotfiles-service-type
(home-dotfiles-configuration
(directories (list "./dotfiles"))))

creates

~/guix/.config/guix/channels.scm

an extra toplevel `guix" directory!

What gives?

Greetings,
Janneke