diff options
author | Jan Tojnar <jtojnar@gmail.com> | 2021-11-04 11:41:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-04 11:41:29 +0100 |
commit | e5d4c2235f08ca8bfa4aada4ad51b0ac4f212608 (patch) | |
tree | 256b0ecf28cbff078392c576488c07dd8f7f7162 | |
parent | c5fd0b46ae56447d9d0a2028d464a5bbf753bf55 (diff) |
docs: Correct fallback user config path
This is in line with XDG Base Directory Specification, where ~/.config is supposed to be used when XDG_CONFIG_HOME is unset.
It also better matches the reality, where ~/.config/nix.conf does not seem to be used.
-rw-r--r-- | doc/manual/src/command-ref/conf-file-prefix.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/manual/src/command-ref/conf-file-prefix.md b/doc/manual/src/command-ref/conf-file-prefix.md index 3140170ab..d660db502 100644 --- a/doc/manual/src/command-ref/conf-file-prefix.md +++ b/doc/manual/src/command-ref/conf-file-prefix.md @@ -17,7 +17,7 @@ By default Nix reads settings from the following places: Otherwise it will look for `nix/nix.conf` files in `XDG_CONFIG_DIRS` and `XDG_CONFIG_HOME`. If these are unset, it will look in - `$HOME/.config/nix.conf`. + `$HOME/.config/nix/nix.conf`. - If `NIX_CONFIG` is set, its contents is treated as the contents of a configuration file. |