mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-11 17:39:37 +08:00
bash: support path in sessionVariables again (#7354)
Upstream shell environment variables support paths. Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
This commit is contained in:
@@ -137,7 +137,13 @@ in
|
||||
|
||||
sessionVariables = mkOption {
|
||||
default = { };
|
||||
type = with types; lazyAttrsOf (either str int);
|
||||
type =
|
||||
with types;
|
||||
lazyAttrsOf (oneOf [
|
||||
str
|
||||
int
|
||||
path
|
||||
]);
|
||||
example = {
|
||||
MAILCHECK = 30;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user