diff --git a/modules/programs/bash.nix b/modules/programs/bash.nix index dad1ba734..2201e04f3 100644 --- a/modules/programs/bash.nix +++ b/modules/programs/bash.nix @@ -137,8 +137,9 @@ in with types; lazyAttrsOf (oneOf [ str - int path + int + float ]); example = { MAILCHECK = 30; diff --git a/modules/programs/zsh/default.nix b/modules/programs/zsh/default.nix index 156f0c38f..92ba1d464 100644 --- a/modules/programs/zsh/default.nix +++ b/modules/programs/zsh/default.nix @@ -247,7 +247,14 @@ in sessionVariables = mkOption { default = { }; - type = types.attrs; + type = + with types; + lazyAttrsOf (oneOf [ + str + path + int + float + ]); example = { MAILCHECK = 30; };