From 479f8889675770881033878a1c114fbfc6de7a4d Mon Sep 17 00:00:00 2001 From: Austin Horstman Date: Tue, 1 Jul 2025 10:47:16 -0500 Subject: [PATCH] bash: support path in sessionVariables again (#7354) Upstream shell environment variables support paths. Signed-off-by: Austin Horstman --- modules/programs/bash.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/modules/programs/bash.nix b/modules/programs/bash.nix index f706f8df9..f26b9968f 100644 --- a/modules/programs/bash.nix +++ b/modules/programs/bash.nix @@ -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; };