diff --git a/options.xhtml b/options.xhtml index 7676b9759..8eb37269b 100644 --- a/options.xhtml +++ b/options.xhtml @@ -8492,8 +8492,9 @@ variable. In particular code like
home.
BAR = "$FOO World!";
};
may not work as expected. If you need to reference another -session variable, then do so inside Nix instead. The above -example then becomes
home.sessionVariables = {
+session variable (even if it is declared by using other options
+like xdg.configHome
), then do so inside Nix instead.
+The above example then becomeshome.sessionVariables = {
FOO = "Hello";
BAR = "${config.home.sessionVariables.FOO} World!";
};