[bug#76714,DOCUMENTATION] doc: Fix typo in Guix Home Services

Message ID 20250303151521.2629-2-sebastien-farge@laposte.net
State New
Headers
Series [bug#76714,DOCUMENTATION] doc: Fix typo in Guix Home Services |

Commit Message

Sébastien Farge March 3, 2025, 3:15 p.m. UTC
  Hello,

In Guix Home Services info pages, i noticed this little typo, but with powerfull confusion for the reader.
And i would be happy to contribute to enlight this delightfull Guix System !

Have a nice day,

======= cover-letter

Sébastien Farge (1):
  doc: Fix typo in Guix Home Services

 doc/guix.texi | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

======== patch

   	doc: Fix typo in Guix Home Services

        * doc/guix.texi (Guix Home Services), change XDG_CONFIG_DIR to XDG_CONFIG_HOME in :
          - home-files-service-type
          - home-xdg-configuration-files-service-type
          - home-symlink-manager-service-type
          - home-parcimonie-configuration

Change-Id: I8fdb70903acf949c360c1e2b950ae7dd3578aded
---
 doc/guix.texi | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
  

Comments

Ludovic Courtès March 9, 2025, 8:59 p.m. UTC | #1
Sébastien Farge <sebastien-farge@laposte.net> skribis:

> In Guix Home Services info pages, i noticed this little typo, but with powerfull confusion for the reader.
> And i would be happy to contribute to enlight this delightfull Guix System !

Applied, thanks!
  

Patch

diff --git a/doc/guix.texi b/doc/guix.texi
index 0ca109a214..324d788ab6 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -47389,7 +47389,7 @@  the required command using the appropriate service type.
 The service of this type allows to specify a list of files, which will
 go to @file{~/.guix-home/files}, usually this directory contains
 configuration files (to be more precise it contains symlinks to files in
-@file{/gnu/store}), which should be placed in @file{$XDG_CONFIG_DIR} or
+@file{/gnu/store}), which should be placed in @file{$XDG_CONFIG_HOME} or
 in rare cases in @file{$HOME}.  It accepts extension values in the
 following format:
 
@@ -47568,14 +47568,14 @@  while visiting each one of the @code{directories}.
 The service is very similar to @code{home-files-service-type} (and
 actually extends it), but used for defining files, which will go to
 @file{~/.guix-home/files/.config}, which will be symlinked to
-@file{$XDG_CONFIG_DIR} by @code{home-symlink-manager-service-type} (for
+@file{$XDG_CONFIG_HOME} by @code{home-symlink-manager-service-type} (for
 example) during activation.  It accepts extension values in the
 following format:
 
 @lisp
 `(("sway/config" ,sway-file-like-object)
   ;; -> ~/.guix-home/files/.config/sway/config
-  ;; -> $XDG_CONFIG_DIR/sway/config (by symlink-manager)
+  ;; -> $XDG_CONFIG_HOME/sway/config (by symlink-manager)
   ("tmux/tmux.conf" ,(local-file "./tmux.conf")))
 @end lisp
 @end defvar
@@ -47606,9 +47606,9 @@  Creates new symlinks the following way: It looks @file{files/} directory
 (usually defined with @code{home-files-service-type},
 @code{home-xdg-configuration-files-service-type} and maybe some others),
 takes the files from @file{files/.config/} subdirectory and put
-respective links in @env{XDG_CONFIG_DIR}.  For example symlink for
+respective links in @env{XDG_CONFIG_HOME}.  For example symlink for
 @file{files/.config/sway/config} will end up in
-@file{$XDG_CONFIG_DIR/sway/config}.  The rest files in @file{files/}
+@file{$XDG_CONFIG_HOME/sway/config}.  The rest files in @file{files/}
 outside of @file{files/.config/} subdirectory will be treated slightly
 different: symlink will just go to @file{$HOME}.
 @file{files/.some-program/config} will end up in
@@ -48429,7 +48429,7 @@  Whether GnuPG is already configured to pass all traffic through
 @uref{https://torproject.org, Tor}.
 
 @item @code{refresh-guix-keyrings?} (default: @code{#f}) (type: boolean)
-Guix creates a few keyrings in the @var{$XDG_CONFIG_DIR}, such as when running
+Guix creates a few keyrings in the @var{$XDG_CONFIG_HOME}, such as when running
 @code{guix import} (@pxref{Invoking guix import}).  Setting this to @code{#t}
 will also refresh any keyrings which Guix has created.