From 2f607e07f3ac7e53541120536708e824acccfaa8 Mon Sep 17 00:00:00 2001 From: rodrigovillarbello Date: Sat, 2 Nov 2024 03:43:32 +0100 Subject: [PATCH] docs: home.sessionVariable clarification Closes: https://github.com/nix-community/home-manager/issues/6027 --- modules/home-environment.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/home-environment.nix b/modules/home-environment.nix index 59497ec4a..2673d1711 100644 --- a/modules/home-environment.nix +++ b/modules/home-environment.nix @@ -280,8 +280,9 @@ in }; ``` may not work as expected. If you need to reference another - session variable, then do so inside Nix instead. The above - example then becomes + session variable (even if it is declared by using other options + like [](#opt-xdg.configHome)), then do so inside Nix instead. + The above example then becomes ```nix home.sessionVariables = { FOO = "Hello";