1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-23 03:29:45 +01:00

docs: home.sessionVariable clarification

Closes: https://github.com/nix-community/home-manager/issues/6027
This commit is contained in:
rodrigovillarbello 2024-11-02 03:43:32 +01:00 committed by Robert Helgesson
parent 8f6ca7855d
commit 2f607e07f3
No known key found for this signature in database
GPG key ID: 96E745BD17AA17ED

View file

@ -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";