1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-26 21:19:45 +01:00
This commit is contained in:
rycee 2024-11-05 22:41:15 +00:00
parent 761a6974dc
commit ca6ac06770

View file

@ -8492,8 +8492,9 @@ variable. In particular code like</p><pre><code class="programlisting nix">home.
BAR = &quot;$FOO World!&quot;;
};
</code></pre><p>may not work as expected. If you need to reference another
session variable, then do so inside Nix instead. The above
example then becomes</p><pre><code class="programlisting nix">home.sessionVariables = {
session variable (even if it is declared by using other options
like <a class="xref" href="options.xhtml#opt-xdg.configHome" ><code class="option">xdg.configHome</code></a>), then do so inside Nix instead.
The above example then becomes</p><pre><code class="programlisting nix">home.sessionVariables = {
FOO = &quot;Hello&quot;;
BAR = &quot;${config.home.sessionVariables.FOO} World!&quot;;
};