Currently, this module makes sure that `/Applications` directories for packages in `home.packages` get linked into the user's environment.
Before the XDG variables would be set from the user's environment, if available. This would break some tests. With this change the tests should be fully deterministic. Fixes #1190
PR #797