1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-14 02:33:38 +02:00

home-environment: document escaping of home.sessionPath

This commit is contained in:
Joscha 2021-10-31 10:18:28 +00:00 committed by Robert Helgesson
parent 2e1a5b53ec
commit 21590d40c1
No known key found for this signature in database
GPG Key ID: 36BDAA14C2797E89

View File

@ -274,11 +274,21 @@ in
type = with types; listOf str;
default = [ ];
example = [
".git/safe/../../bin"
"$HOME/.local/bin"
"\${xdg.configHome}/emacs/bin"
"~/.local/bin"
".git/safe/../../bin"
];
description = "Extra directories to add to <envar>PATH</envar>.";
description = ''
Extra directories to add to <envar>PATH</envar>.
</para><para>
These directories are added to the <envar>PATH</envar> variable in a
double-quoted context, so expressions like <code>$HOME</code> are
expanded by the shell. However, since expressions like <code>~</code> or
<code>*</code> are escaped, they will end up in the <envar>PATH</envar>
verbatim.
'';
};
home.sessionVariablesExtra = mkOption {