mirror of
https://github.com/nix-community/home-manager.git
synced 2026-06-05 21:02:51 +00:00
{bash,zsh}: align sessionVariables type
This matches `home.sessionVariables`.
This commit is contained in:
committed by
Austin Horstman
parent
466d5909eb
commit
62f445c13c
@@ -137,8 +137,9 @@ in
|
||||
with types;
|
||||
lazyAttrsOf (oneOf [
|
||||
str
|
||||
int
|
||||
path
|
||||
int
|
||||
float
|
||||
]);
|
||||
example = {
|
||||
MAILCHECK = 30;
|
||||
|
||||
@@ -247,7 +247,14 @@ in
|
||||
|
||||
sessionVariables = mkOption {
|
||||
default = { };
|
||||
type = types.attrs;
|
||||
type =
|
||||
with types;
|
||||
lazyAttrsOf (oneOf [
|
||||
str
|
||||
path
|
||||
int
|
||||
float
|
||||
]);
|
||||
example = {
|
||||
MAILCHECK = 30;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user