1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-03-18 14:28:15 +00:00
home-manager/tests/modules
Thiago Kenji Okada 277eea1cc7 home-environment: add home.sessionSearchVariables
This commit introduces `home.sessionSearchVariables` option, that is
created to be a "generic" version of `home.sessionPath` for any
environment variables that is similar to PATH (e.g.: MANPATH). This
allows composition of those variables between multiple modules, avoiding
issues like this one:

https://github.com/nix-community/home-manager/pull/4579/files#r1364374048

This commit also reimplements `home.sessionPath` as terms of
`home.sessionSearchVariables`, to reduce code duplication and show that
the code is correct.

The behavior is to prepend the new search paths. This will allow
the user to override the defaults easily by setting it later in the
configuration.
2025-03-09 09:36:41 -05:00
..
accounts tests: remove with lib (#6511) 2025-02-21 23:20:07 -06:00
config tests/home-cursor: init (#6496) 2025-02-19 13:18:30 -06:00
files tests: remove with lib (#6511) 2025-02-21 23:20:07 -06:00
home-environment home-environment: add home.sessionSearchVariables 2025-03-09 09:36:41 -05:00
i18n/input-method tests: rework derivation stubbing 2025-02-04 23:58:20 +01:00
launchd tests: remove with lib (#6511) 2025-02-21 23:20:07 -06:00
misc tests: move xdg to cross platform tests 2025-03-01 11:08:42 -05:00
programs tests/vscode: fix darwin snippets test 2025-03-09 00:44:11 -06:00
services tests/yubikey-agent-darwin: fix test 2025-03-09 00:44:11 -06:00
systemd tests: remove with lib (#6511) 2025-02-21 23:20:07 -06:00
targets-darwin tests/targets-darwin: fix user-defaults test 2025-03-09 00:44:11 -06:00
targets-linux tests: remove with lib (#6511) 2025-02-21 23:20:07 -06:00
xresources tests: remove with lib (#6511) 2025-02-21 23:20:07 -06:00