Hi,

I don’t like to make a breaking change. We can follow the pattern that how 
emacs find init[1]. Emacs will looks at ~/.emacs.d, ~/.emacs, and ~/.emacs.el 
firstly, then it will try to search at the XDG location. Guix can look at the 
XDG location only if $HOME/.guix-profile doesn’t exist.

And XDG_CONFIG_HOME is not a suitable location. Normally all files in this 
location is plain text files. Some people use tools to backup all those files.

[1]: https://www.gnu.org/software/emacs/manual/html_node/emacs/Find-Init.html

Regards,
Kuo

On 28 Jan 2026, at 4:53, Łukasz Stelmach wrote:

> Hi,
>
> I've created two pull requests[1][2] on Codeberg. Alas I got little
> feedback, which they definitely need.
>
> The first one is about moving Guix dot-files to XDG directories. For now
> I've decided to put them in ~/.config, although I agree with
> anemofilia[3], that this may not be a good choice. However, I'd stick
> with it for now to solve any issues arising from the change of paths,
> and decide how to handle migration. Do share your suggestions.
>
> The latter request fixes problems with some tests hanging
> indefinitely. Please note, I am building guix on Debian trixie,
> which may or may not be the cause of the problem. The patch works for me
> of course, but I'd be glad to hear from soeone running Guix too.
>
> [1] https://codeberg.org/guix/guix/pulls/5357
> [2] https://codeberg.org/guix/guix/pulls/5603
> [3] https://codeberg.org/guix/guix/pulls/5357#issuecomment-9541547
> -- 
> Kind regards,
> Łukasz Stelmach

Reply via email to