diff options
Diffstat (limited to 'nixos/modules')
-rw-r--r-- | nixos/modules/config/i18n.nix | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/nixos/modules/config/i18n.nix b/nixos/modules/config/i18n.nix index dc7305b1ba2..d0db8fedecd 100644 --- a/nixos/modules/config/i18n.nix +++ b/nixos/modules/config/i18n.nix @@ -89,11 +89,7 @@ with lib; }; consoleKeyMap = mkOption { - type = mkOptionType { - name = "string or path"; - check = t: (isString t || types.path.check t); - }; - + type = with types; either str path; default = "us"; example = "fr"; description = '' |