2.home-manager/tests/modules
Thiago Kenji Okada 9e0453a9b0 zsh: source session variable file directly
Right now we load `hm-session-vars.sh` from
`config.home.profileDirectory`, generally resulting in the following
code being generated in `zshenv`:

```
. "/etc/profiles/per-user/<username>/etc/profile.d/hm-session-vars.sh"
```

This is problematic in a few situations. For example, when entering a
`distrobox` environment I got the following error:

```
/home/<username>/.zshenv:.:2: no such file or directory: /etc/profiles/per-user/<username>/etc/profile.d/hm-session-vars.sh
```

Instead, let's point to the path directly to the `/nix/store` by using
`config.home.sessionVariablesPackage` instead. This is more robust and
it is more consistent with other things we source in ZSH.
2025-09-30 07:50:26 -05:00
..
accounts accounts.email: add option to disable an account 2025-08-07 14:08:46 -05:00
config tests/home-cursor: don't use realPkgs 2025-04-18 15:56:09 -07:00
dbus dbus: Create with pacakges options (#7064) 2025-05-15 12:59:12 -05:00
files treewide: reformat nixfmt-rfc-style 2025-04-08 08:50:05 -07:00
home-environment dconf: revert: dconf: Provide dconf (#7215) 2025-06-05 15:06:51 -05:00
i18n/input-method fcitx5: fix iniFormat usage (#6899) 2025-04-23 15:10:12 -05:00
launchd launchd+targets/darwin: Escape XML in plists (#7356) 2025-08-09 11:22:08 -05:00
misc xdg-mime-apps: no spaces in default app entries 2025-09-22 20:56:58 -05:00
programs zsh: source session variable file directly 2025-09-30 07:50:26 -05:00
services tailscale-systray: add module (#7821) 2025-09-26 15:14:09 +00:00
systemd treewide: remove unused code (#6985) 2025-05-07 10:03:21 -05:00
targets-darwin treewide: reformat nixfmt-rfc-style 2025-04-08 08:50:05 -07:00
targets-linux treewide: reformat nixfmt-rfc-style 2025-04-08 08:50:05 -07:00
xresources treewide: reformat nixfmt-rfc-style 2025-04-08 08:50:05 -07:00