diff --git a/modules/home-environment.nix b/modules/home-environment.nix index 61ca0649..77850a8e 100644 --- a/modules/home-environment.nix +++ b/modules/home-environment.nix @@ -128,6 +128,15 @@ in description = '' Environment variables to always set at login. + The values may refer to other environment variables using + POSIX.2 style variable references. For example, a variable + parameter may be referenced as + $parameter or ''${parameter}. A + default value foo may be given as per + ''${parameter:-foo} and, similarly, an alternate + value bar can be given as per + ''${parameter:+bar}. + Note, these variables may be set in any order so no session variable may have a runtime dependency on another session variable. In particular code like