Merge pull request #1767 from the-kenny/fix-consoleKeyMap-type
i18n.consoleKeyMap: Accept string or path.
This commit is contained in:
commit
bb7fe59b80
@ -53,7 +53,11 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
consoleKeyMap = mkOption {
|
consoleKeyMap = mkOption {
|
||||||
type = types.str;
|
type = mkOptionType {
|
||||||
|
name = "string or path";
|
||||||
|
check = t: (isString t || types.path.check t);
|
||||||
|
};
|
||||||
|
|
||||||
default = "us";
|
default = "us";
|
||||||
example = "fr";
|
example = "fr";
|
||||||
description = ''
|
description = ''
|
||||||
|
Loading…
Reference in New Issue
Block a user