1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-03-20 07:12:36 +00:00
home-manager/modules/lib
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
..
assertions.nix Move platform check into modules 2021-07-18 20:43:22 +02:00
booleans.nix lib.booleans: add yesNo function (#2818) 2022-04-07 22:36:13 -06:00
dag.nix lib: add functions to create DAGs from lists 2023-06-05 23:08:30 +02:00
default.nix nushell: create generator helpers 2024-10-17 12:54:19 +02:00
file-type.nix lib/file-type: Make force option visible (#6003) 2024-11-16 20:54:20 +01:00
generators.nix lib/generators: toHyprconf init 2024-04-30 00:07:06 +02:00
gvariant.nix lib: add two new gvariant types 2022-09-29 13:05:51 +02:00
maintainers.nix wpaperd: add systemd service; move to services/ from programs/ (#6302) 2025-02-22 11:32:15 -06:00
nushell.nix nushell: add settings option 2025-01-29 18:22:07 +01:00
shell.nix home-environment: add home.sessionSearchVariables 2025-03-09 09:36:41 -05:00
stdlib-extended.nix lib: add fallback for literalExpression and literalDocBook 2021-10-13 00:16:09 +02:00
strings.nix lib: remove top-level with lib 2021-10-31 08:50:53 +01:00
types-dag.nix lib: remove listOrDagOf type 2023-06-05 23:08:29 +02:00
types.nix nushell: create generator helpers 2024-10-17 12:54:19 +02:00
zsh.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00